We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa26a2 commit d8aae7eCopy full SHA for d8aae7e
.travis.yml
@@ -4,6 +4,8 @@ node_js:
4
- "8"
5
- "10"
6
- "node"
7
+env:
8
+ - DEFAULT_NODE_VERSION=10
9
addons:
10
apt:
11
sources:
@@ -32,8 +34,12 @@ script:
32
34
- npm run spec
33
35
- npm run docs
36
after_success:
- - npm run coveralls
- - ./.travis_build_pages
37
+ - if [ "$TRAVIS_NODE_VERSION" == "$DEFAULT_NODE_VERSION" ]; then
38
+ npm install coveralls;
39
+ node_modules/.bin/nyc --reporter=text-lcov mocha |
40
+ node_modules/.bin/coveralls;
41
+ ./.travis_build_pages;
42
+ fi
43
cache:
44
apt: true
45
directories:
0 commit comments