forked from UCLALibrary/sinai-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (53 loc) · 1.45 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: java
jdk:
- openjdk8
install:
mvn -q validate
script:
mvn -q package -Dsinai.logs.dir=/var/log/sinai -Dsinai.id.key="$SINAI_ID_KEY"
deploy:
- provider: s3
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
bucket: "build-artifacts.library.ucla.edu"
local_dir: target/build-artifact
upload_dir: sinai-web/develop
skip_cleanup: true
acl: public_read
region: us-west-2
on:
branch: develop
- provider: s3
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
bucket: "build-artifacts.library.ucla.edu"
local_dir: target/build-artifact
upload_dir: sinai-web/stage
skip_cleanup: true
acl: public_read
region: us-west-2
on:
branch: stage
- provider: s3
access_key_id: "${AWS_ACCESS_KEY_ID}"
secret_access_key: "${AWS_SECRET_ACCESS_KEY}"
bucket: "build-artifacts.library.ucla.edu"
local_dir: target/build-artifact
upload_dir: sinai-web/master
skip_cleanup: true
acl: public_read
region: us-west-2
on:
branch: master
cache:
directories:
- $HOME/.m2
notifications:
email:
recipients:
on_failure: change
on_success: never
slack:
secure: eMZgS79kzSH6opY2sSJhrYdTg0jLB/JzLEvQFcn6xoDtek3/WjWWg4+M8sYv/qPqwzY3jeJ0vxd8SIwcgBJkgOHVJqvmqxWV49/F8EOENaDU+oWo5vUUh8GvM1e+B/4wZd14PbD6w9m4qs1gIAUcPECE21p0KDtvN/VYnH+96LI=
sudo: false