Skip to content

Commit

Permalink
Run after_success scripts only once.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Nov 3, 2018
1 parent 9fa26a2 commit d8aae7e
Show file tree
Hide file tree
Showing 3 changed files with 536 additions and 700 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ node_js:
- "8"
- "10"
- "node"
env:
- DEFAULT_NODE_VERSION=10
addons:
apt:
sources:
Expand Down Expand Up @@ -32,8 +34,12 @@ script:
- npm run spec
- npm run docs
after_success:
- npm run coveralls
- ./.travis_build_pages
- if [ "$TRAVIS_NODE_VERSION" == "$DEFAULT_NODE_VERSION" ]; then
npm install coveralls;
node_modules/.bin/nyc --reporter=text-lcov mocha |
node_modules/.bin/coveralls;
./.travis_build_pages;
fi
cache:
apt: true
directories:
Expand Down
Loading

0 comments on commit d8aae7e

Please sign in to comment.