forked from operasoftware/devopera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (42 loc) · 1.2 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
sudo: false
dist: precise
language: ruby
rvm:
- 2.2
install:
- "bundle install --jobs=3 --retry=3"
- "nvm install"
- "node --version"
- "npm --version"
- "npm install"
script: "travis_wait gulp build:full"
before_deploy:
- mkdir _codedeploy
- tar czf _codedeploy/dev-opera.tar.gz appspec.yml dest
after_deploy:
- rm -rf _codedeploy
deploy:
- provider: s3
region: us-west-2
access_key_id: "AKIAILZS2G2NCXNE4U2A"
secret_access_key:
secure: "AuuSW98B2/0cVv/qKwGCBujfIB7bIgtfySVZKZ2yiG06I0AJwQawpaPcI92hMjZ6aTtFD2SdhshDlcUdh7BNsMoJzs4SQIRukCnikvoYsWR2+3FDFwffLj7ijFyreAIHbq9ydcB0I/x/a2A3grNEtvgURydurxow+f7IWfn8GmA="
local_dir: _codedeploy
bucket: dev-opera
upload-dir: latest
skip_cleanup: true
- provider: codedeploy
region: us-west-2
access_key_id: "AKIAILZS2G2NCXNE4U2A"
secret_access_key:
secure: "AuuSW98B2/0cVv/qKwGCBujfIB7bIgtfySVZKZ2yiG06I0AJwQawpaPcI92hMjZ6aTtFD2SdhshDlcUdh7BNsMoJzs4SQIRukCnikvoYsWR2+3FDFwffLj7ijFyreAIHbq9ydcB0I/x/a2A3grNEtvgURydurxow+f7IWfn8GmA="
application: DevOpera
deployment_group: MainBackends
bucket: dev-opera
key: latest/dev-opera.tar.gz
bundle_type: tgz
git:
depth: 1
branches:
only:
- master