From 0a7895164864749ec659b784851763e354f3cd6c Mon Sep 17 00:00:00 2001 From: Nicholas Mathison Date: Mon, 16 Oct 2017 11:46:49 -0400 Subject: [PATCH] Travis Support --- .travis.yml | 25 +++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..293904c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: groovy +rvm: +- 1.8.8 +install: +- gradle build +before_script: +- gradle test +- export VERSION=${TRAVIS_TAG}.${TRAVIS_COMMIT:0:7} +script: +- gradle -PpluginVersion=${VERSION} +jdk: +- oraclejdk8 +- openjdk7 +notifications: + email: false +deploy: + provider: releases + api_key: + secure: MCRxe5yb9c1HqIADLcEp/bwA+nBxeoRIQYLeBqyQQAwtIGd2q49ffSwrhWxxXv62j4OeMVYi+9Z/HEVx6ct2sQ2F/uuw+9WHZsdv6lF4SmOezeG1avKlTn7EvOd4oqHqtGNHebZLEfrzYRY4DPydOmbD/fL7YEf2ClaKED/m0RKOXqxs7IANDTZS/XemE5ORLpR1urAVKh2M/Yno5fS/LU34/8mu5RJiQfhbTb70Kqq5TXuNaVhsavkIWSPoE/jnR5+ujSf4KMkiOX2ztnwh03cV5VFHghA/z/wVuB6o9i0OeFEUcBWt3PA+5Dg6llPaRqPnWQS993Kvdz1EmWtbz0755T9J3grDomygP+MJeCSNS4iA1kjtAuH+0rK5aex9wry2Xk2rObU21qUu7de4POvohIA3eRoWm6zcN4Ut/EGCKTBRAasPsBLVdl2mOPgl8MKN/Ks+KY86kco3OwEZaMBBWDSEhkfFEZWQ7PMrNg9VFm6w39Q/Tj2dm5kERuYP9nc1WRAwWYyQyjbsyEVAVwtle+fFcWnNW0gUlqFaLw3xzL+uKcQsKttS0U/Saza0vHD/VrFmePc/Yoc0x7CjHbxB5ELxk9TfBTttsYNuiB0+NkQmQXNE8N8hlFZwL08KlrsEpFLMbTv1tg+lPQev9IRxkBve5XCKHk5AU+t7Kmo= + file_glob: true + file: build/distributions/*.zip + skip_cleanup: true + on: + tags: true + repo: IBM-UrbanCode/Ansible-Toolkit-UCD diff --git a/README.md b/README.md index a92d821..ca50d7e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# IBM UrbanCode Deploy - Ansible Toolkit Plug-in +# IBM UrbanCode Deploy - Ansible Toolkit Plug-in [![Build Status](https://travis-ci.org/IBM-UrbanCode/Ansible-Toolkit-UCD.svg?branch=master)](https://travis-ci.org/IBM-UrbanCode/Ansible-Toolkit-UCD) --- Note: This is not the plugin distributable! This is the source code. To find the installable plugin, go into the 'Releases' tab, and download a stable version.