Skip to content

Commit 5335224

Browse files
committed
update travis
1 parent 8d56a01 commit 5335224

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ matrix:
88
env:
99
- DISABLE_TESTS=true
1010
- LINTING=true
11+
- node_js: '10.6'
12+
env:
13+
- INTEGRATION_TESTS=true
1114

1215
sudo: false
1316

@@ -17,7 +20,7 @@ install:
1720
script:
1821
- if [[ -z "$DISABLE_TESTS" ]]; then npm run test; fi
1922
- if [[ ! -z "$DISABLE_TESTS" && ! -z "$LINTING" ]]; then npm run lint; fi
20-
- if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then npm run integration-test; fi
23+
- if [[ ! -z "$INTEGRATION_TESTS" && $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]]; then npm run integration-test; fi
2124

2225
after_success:
2326
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

0 commit comments

Comments
 (0)