-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (45 loc) · 1.03 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
dist: trusty
language: java
jdk:
- oraclejdk8
branches:
only:
- master
cache:
directories:
- '$HOME/.m2/repository'
script: "mvn clean package"
notifications:
email:
recipients:
- pearlismylove@gmail.com
before_deploy:
- zip -r springboot-cd *
- mkdir -p deploy
- mv springboot-cd.zip deploy/springboot-cd.zip
deploy:
- provider: s3
local_dir: deploy
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY
bucket: springboot-deploy
region: ap-southeast-1
skip_cleanup: true
acl: public_read
wait-until-deployed: true
on:
repo: pearlismylove/spring-boot-cd
branch: master
- provider: codedeploy
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY
bucket: springboot-deploy
key: springboot-cd.zip
bundle_type: zip
application: springboot-cd
deployment_group: springboot-cd-group
region: ap-southeast-1
wait-until-deployed: true
on:
repo: pearlismylove/spring-boot-cd
branch: master