From cef01028931078725937a36c8be4b5306dc6f35a Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Sun, 26 Jun 2016 18:46:08 +0200 Subject: [PATCH 1/3] [BUGFIX] Set script to after script instead of deploy --- .travis.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddecabd..0e7169a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: script: "./.travis/maven-build.sh" -after_deploy: "./.travis/call-creation.sh" +after_script: "./.travis/call-creation.sh" notifications: email: false @@ -53,17 +53,3 @@ deploy: on: repo: Parabot/Parabot all_branches: true - - provider: s3 - access_key_id: AKIAJDZLZNH2PIKHUKOA - secret_access_key: - secure: MTOqhji8t8DcGRsfZEitMTqMemqxIag4a3dI0SBeWKBMpDCcKOokhGbXFCUBvMukU6tKIFfMo15z2wERZQxCVAxMt7dr1cyuWb49Sdy+mnBR6Z3EsJ2suilBe6b+9odLJVplCQVRPz9VyKnllWwO9D5j/ZpQaf8fb1675PB6feY= - bucket: parabot - skip_cleanup: true - local-dir: "./target/apidocs/zips/" - upload-dir: "artifacts/apidocs" - region: us-west-1 - detect_encoding: true - acl: public_read - on: - repo: Parabot/Parabot - branch: master From 71d87be355899be44e34a72d0e4b37e35f4254e6 Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Sun, 26 Jun 2016 18:49:51 +0200 Subject: [PATCH 2/3] [DEBUG] Removed silent call --- .travis/call-creation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/call-creation.sh b/.travis/call-creation.sh index 5c62f0f..358ef2e 100755 --- a/.travis/call-creation.sh +++ b/.travis/call-creation.sh @@ -1,4 +1,4 @@ #! /bin/bash sleep 15 -curl -sS "http://v3.bdn.parabot.org/api/bot/create/client?build_id=$TRAVIS_BUILD_ID&version=$PARABOT_VERSION" >/dev/null \ No newline at end of file +curl "http://v3.bdn.parabot.org/api/bot/create/client?build_id=$TRAVIS_BUILD_ID&version=$PARABOT_VERSION" \ No newline at end of file From d61644b980bf6ad56f41e51370e73f56bbc4a24d Mon Sep 17 00:00:00 2001 From: JKetelaar Date: Sun, 26 Jun 2016 18:57:42 +0200 Subject: [PATCH 3/3] [CLEANUP] Removed debug --- .travis.yml | 2 +- .travis/call-creation.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e7169a..89bc4c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: script: "./.travis/maven-build.sh" -after_script: "./.travis/call-creation.sh" +after_deploy: "./.travis/call-creation.sh" notifications: email: false diff --git a/.travis/call-creation.sh b/.travis/call-creation.sh index 358ef2e..5c62f0f 100755 --- a/.travis/call-creation.sh +++ b/.travis/call-creation.sh @@ -1,4 +1,4 @@ #! /bin/bash sleep 15 -curl "http://v3.bdn.parabot.org/api/bot/create/client?build_id=$TRAVIS_BUILD_ID&version=$PARABOT_VERSION" \ No newline at end of file +curl -sS "http://v3.bdn.parabot.org/api/bot/create/client?build_id=$TRAVIS_BUILD_ID&version=$PARABOT_VERSION" >/dev/null \ No newline at end of file