-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (42 loc) ยท 1.3 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
language: java
jdk:
- openjdk8
branches:
only:
- master
# Travis CI ์๋ฒ์ Home
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.gradle'
script: "./gradlew clean build"
before_deploy:
- zip -r freelec-springboot2-webservice *
- mkdir -p deploy
- mv freelec-springboot2-webservicev.zip deploy/freelec-springboot2-webservicev.zip
deploy:
- provider: s3
access_key_id: $AWS_ACCESS_KEY # Travis repo settings์ ์ค์ ๋ ๊ฐ
secret_access_key: $AWS_SECRET_KEY # Travis repo settings์ ์ค์ ๋ ๊ฐ
bucket: freelec-springboot-build11 # S3 ๋ฒํท
region: ap-northeast-2
skip_cleanup: true
acl: private # zip ํ์ผ ์ ๊ทผ์ private์ผ๋ก
local_dir: deploy # before_deploy์์ ์์ฑํ ๋๋ ํ ๋ฆฌ
wait-until-deployed: true
- provider: codedeploy
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY # Travis repo settings์ ์ค์ ๋ ๊ฐ
bucket: freelec-springboot-build11 # S3 ๋ฒํท
key: freelec-springboot2-webservice.zip
bundle_type: zip
application: freelec-springboot2-webservice
deployment_group: freelec-springboot2-webservice-group
region: ap-northeast-2
wait-until-deployed: true
# CI ์คํ ์๋ฃ์ ๋ฉ์ผ๋ก ์๋
notifications:
email:
recipients:
# test