diff --git a/.travis.yml b/.travis.yml index d8a40cd..25d2eb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,17 @@ language: java jdk: -- oraclejdk7 + - oraclejdk7 before_install: - chmod +x ./.travis/artifact-upload.sh - chmod +x ./.travis/maven-build.sh + - chmod +x ./.travis/call-creation.sh + - mvn clean -script: ./.travis/maven-build.sh +script: "./.travis/maven-build.sh" + +after_deploy: "./.travis/call-creation.sh" notifications: email: false @@ -26,13 +30,23 @@ env: - secure: St/fecUDInFBCRriYqgp2F8PU9/SooorgxD9Mrs+b0EsC7AbtSsQXvdIv2Lp6xzdQ0VSXPcLIhULPOYrmBKnGQ/NjXTIZXxnroyQxxnI6xyEWIZwiHRY/bKRJDRbQTxD9NL32szKiDSwnw7pu6llF4D64UqQvziq4Gm6VohU75M= - secure: bD15GVZWowiknbfLavh8CxSh0GsnF5kT4kZ6ggCuUDGyj0mzqf7dNRnchQIKkCG0WRYyTrFN4pEiygeywWsipEeAVv9Xhx3cuUZmzeQaR5KCWabSwJ8gK6jZd1YhcWmM9vrdPHobZr65MP0y/8mu/Fovgky9dY7KDf4G3SebNrM= -addons: - artifacts: - paths: ./target/final/ - s3_region: "us-west-1" - target_paths: ./artifacts/ - cache: directories: - - .autoconf - - $HOME/.m2 + - ".autoconf" + - "$HOME/.m2" + +deploy: + provider: s3 + access_key_id: AKIAJDZLZNH2PIKHUKOA + secret_access_key: + secure: MTOqhji8t8DcGRsfZEitMTqMemqxIag4a3dI0SBeWKBMpDCcKOokhGbXFCUBvMukU6tKIFfMo15z2wERZQxCVAxMt7dr1cyuWb49Sdy+mnBR6Z3EsJ2suilBe6b+9odLJVplCQVRPz9VyKnllWwO9D5j/ZpQaf8fb1675PB6feY= + bucket: parabot + skip_cleanup: true + local-dir: "./target/final/" + upload-dir: "artifacts/client" + region: us-west-1 + detect_encoding: true + acl: public_read + on: + repo: Parabot/Parabot + all_branches: true diff --git a/.travis/call-creation.sh b/.travis/call-creation.sh new file mode 100755 index 0000000..1f1c916 --- /dev/null +++ b/.travis/call-creation.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +sleep 15 +curl -sS "http://v3.bdn.parabot.org/api/bot/create/client?build_id=$TRAVIS_BUILD_ID&version=2.5.1" >/dev/null \ No newline at end of file diff --git a/pom.xml b/pom.xml index a57b7a3..cab79b8 100755 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ Parabot client - This is the Parabot client for all kind of RSPS'. This does not contain the API. + The only perfect open source (Runescape private server) bot! http://www.parabot.org/