Skip to content

Commit 9b2c1b8

Browse files
committed
updated travis.yml
1 parent 62eef97 commit 9b2c1b8

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ matrix:
44
include:
55
- node_js: '8.9'
66
env:
7-
- INTEGRATION_TESTS=false
7+
- DISABLE_INTEGRATION_TESTS=true
88
- node_js: '10.6'
9-
env:
10-
- INTEGRATION_TESTS=true
119
- node_js: '10.6'
1210
env:
13-
- DISABLE_TESTS=true
11+
- DISABLE_INTEGRATION_TESTS=true
12+
- DISABLE_UNIT_TESTS=true
1413
- LINTING=true
1514

1615
sudo: false
@@ -19,9 +18,9 @@ install:
1918
- travis_retry npm install
2019

2120
script:
22-
- if [[ -z "$DISABLE_TESTS" ]]; then npm run test; fi
21+
- if [[ -z "$DISABLE_UNIT_TESTS" ]]; then npm run test; fi
2322
- if [[ ! -z "$DISABLE_TESTS" && ! -z "$LINTING" ]]; then npm run lint; fi
24-
- if [[ ! -z "$INTEGRATION_TESTS" ]]; then npm run integration-test; fi
23+
- if [[ -z "$DISABLE_INTEGRATION_TESTS" ]]; then npm run integration-test; fi
2524

2625
after_success:
27-
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
26+
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

0 commit comments

Comments
 (0)