-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (44 loc) · 1.05 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
sudo: required
language: node_js
node_js:
- 10.16.3
cache:
directories:
- node_modules
services:
- mongodb
- docker
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_script:
- npm install -g gulp-cli codecov
script:
- npm run cover || travis_terminate 1;
after_success:
- bash .travis/after-success.sh || travis_terminate 1;
# deploy:
# - provider: script
# script: bash .travis/docker-deploy.sh
# on:
# branch: develop
# - provider: script
# script: bash .travis/docker-deploy.sh
# on:
# tags: true
# - provider: codedeploy
# bucket: "phc-codedeploy-essentials-codedeploys3bucket-jumhvxvmnql0"
# key: deploy.zip
# bundle_type: zip
# access_key_id: "${CODEDEPLOY_ACCESS_KEY_ID}"
# secret_access_key: "${CODEDEPLOY_SECRET_ACCESS_KEY}"
# application: "phc-codedeploy-CodeDeployApplication-1JIG4ADRRDKT4"
# deployment_group: "phc-codedeploy-DeploymentGroup-3DWDGW9ASVEZ"
# region: "us-east-1"
# on:
# branch: develop