forked from MyRobotLab/myrobotlab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 903 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# use https://lint.travis-ci.org/ to check validity
# use https://gist.github.com/tgrrtt/96b206c22b82f92ce563 to see examples
# use https://github.com/travis-ci/artifacts#installation for artifacts guide
# make the s3 directory public in aws give access to the artifacts
language: java
sudo: false
script: ant dist
jdk:
- oraclejdk8
deploy:
provider: s3
access_key_id: "AKIAJ6CQ5PPESWGSKNXA"
secret_access_key: $AWS_SECRET_KEY
bucket: "mrl-bucket-02"
skip_cleanup: true
local_dir: "dist/current"
region: "us-east-1"
on:
all_branches: true
after_deploy:
- pwd
- ls
- if [ ! -f "fail.txt" ]; then travis_terminate 1; fi
env:
global:
- secure: CPq2oomYvrYnhzd+H4HU2T0NfjGO48MvlJ/UWqvrD4j6IXIe2ybrwRWSJfcfbFgZA5csHBEF2VNDgZlGhDV5aSVyBVkqBM4LfhvGVZo31Z2QhFVm5pTV45LRaiqSLCi74RgJEsFJ9viW+MROoKtMbFzvP3kVqWm4VaAWJK5c4cA=