forked from serverless/serverless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (20 loc) · 2.01 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
language: node_js
node_js:
- '4.4'
- '5.11'
- '6.2'
sudo: false
install:
- travis_retry npm install
script:
- npm test
# Only Run Integration Tests and ESLINT for the first job in the whole build to make the build faster
# Only Run Integration Test when an AWS ACCESS KEY ID is available so the build doesn't fail for PR's from forks
- if [[ "$TRAVIS_JOB_NUMBER" =~ [0-9]+\.1 && ! -z ${AWS_ACCESS_KEY_ID+x} ]]; then npm run integration-test; fi
- if [[ "$TRAVIS_JOB_NUMBER" =~ [0-9]+\.1 ]]; then npm run lint; fi
after_success:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
env:
global:
- secure: d/mNhZSYk4y2FcSr88NKic/6n+rhONDRNzt6qLMBQ1tQ8YZ0ktzd54X/j7YMLwIA2/yl4PquJF5kwGyVzIhSl6IjmH/YhSEsQzGPI/1YI/pBoG+O9nocqr1jPnUbNhph9+ICiCUtXzeT6LaSKtV0r70eI9/sdB4aKko1I9m+o6tfZPfBiKhDYnvihbOI+yg1rqaWOeDNfWuv7aatsSmqOjScpKYSOAg/aB0ireotc9nFLb3ju2b+fNyzkg3eunFKuZh5pdSm5Zt5QE3nJHKe7rBzx8YkddeJIjiUaaIdW2hIp1PcePc6wOqaZA/lxgfoyLPn8MrcB57ifPeV8M7OW+VhL76beZfgxPB/sVQwpanCl9gyBdge1elep0ZGHWm7X2Y2WhredISxBTkbvBxepKXC6ZyXNW8K3XVEPVp+zwixHDST5E6AHlC0Kzn6QadZEuFoBkSylz+pYedGEGMTakS4jYidcvG+/4TC2Z9ByiDNumA3ooKsjcZyfoPD40IaB/qzZxBDt9rETKvzby1vgGiMvw7stZ0QWwbmeNshAcHGL/Md/oQDQtTMae0rgLjVjc56FQRzfoEDQYlczl/aGk8CPOjFs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