Skip to content

Commit

Permalink
Run unit tests only one time on Travis/Linux (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
nono authored Nov 5, 2018
1 parent 8959e6f commit 6bf66ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ jobs:
os: linux
- <<: *dist
os: osx
- stage: test
name: code coverage
os: linux
after_failure: skip
script: ./dev/ci/coverage.sh
- stage: notify
name: artifacts built
services: false
Expand Down
9 changes: 7 additions & 2 deletions dev/ci/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ yarn install:electron
yarn install:elm
yarn build:elm
yarn lint
yarn test:unit
yarn test:world --timeout $MOCHA_TIMEOUT --forbid-only
yarn test:elm
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
yarn test:unit:coverage --timeout $MOCHA_TIMEOUT --forbid-only
bash <(curl -s https://codecov.io/bash)
else
yarn test:unit --timeout $MOCHA_TIMEOUT --forbid-only
fi
yarn test:world --timeout $MOCHA_TIMEOUT --forbid-only
yarn test:integration --timeout $MOCHA_TIMEOUT --forbid-only

0 comments on commit 6bf66ab

Please sign in to comment.