mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[BUGFIX] Changed system to deploy artifacts
This commit is contained in:
+18
-8
@@ -1,17 +1,16 @@
|
||||
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
|
||||
- "gem install travis-artifacts"
|
||||
|
||||
script: ./.travis/maven-build.sh
|
||||
script: "./.travis/maven-build.sh"
|
||||
|
||||
after_script: ./.travis/call-creation.sh
|
||||
after_deploy: "./.travis/call-creation.sh"
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
@@ -30,9 +29,20 @@ env:
|
||||
- secure: St/fecUDInFBCRriYqgp2F8PU9/SooorgxD9Mrs+b0EsC7AbtSsQXvdIv2Lp6xzdQ0VSXPcLIhULPOYrmBKnGQ/NjXTIZXxnroyQxxnI6xyEWIZwiHRY/bKRJDRbQTxD9NL32szKiDSwnw7pu6llF4D64UqQvziq4Gm6VohU75M=
|
||||
- secure: bD15GVZWowiknbfLavh8CxSh0GsnF5kT4kZ6ggCuUDGyj0mzqf7dNRnchQIKkCG0WRYyTrFN4pEiygeywWsipEeAVv9Xhx3cuUZmzeQaR5KCWabSwJ8gK6jZd1YhcWmM9vrdPHobZr65MP0y/8mu/Fovgky9dY7KDf4G3SebNrM=
|
||||
|
||||
after_success: "travis-artifacts upload --path ./target/final/ --target-path ./artifacts/client/"
|
||||
|
||||
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
|
||||
on:
|
||||
repo: Parabot/Parabot
|
||||
|
||||
Reference in New Issue
Block a user