-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (41 loc) · 847 Bytes
/
.travis.yml
File metadata and controls
41 lines (41 loc) · 847 Bytes
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
sudo: required
dist: trusty
git:
depth: 1
language: node_js
node_js:
- '6'
matrix:
fast_finish: true
cache:
directories:
- node_modules
env:
- ELASTIC_BEANSTALK_LABEL=$TRAVIS_BUILD_NUMBER
after_success:
- "./node_modules/.bin/codecov"
before_deploy:
- ./scripts/dist.sh
deploy:
- provider: elasticbeanstalk
skip_cleanup: true
access_key_id: $AWS_KEY
secret_access_key: $AWS_SECRET
region: $AWS_REGION
app: $EB_APP
env: $STAGE_EB_ENV
bucket_name: $STAGE_BUCKET
zip_file: ./dist/$npm_package_name.zip
on:
branch: stage
- provider: elasticbeanstalk
skip_cleanup: true
access_key_id: $AWS_KEY
secret_access_key: $AWS_SECRET
region: $AWS_REGION
app: $EB_APP
env: $EB_ENV
bucket_name: $BUCKET
zip_file: ./dist/$npm_package_name.zip
on:
branch: master