Skip to content

Commit

Permalink
wip: isolate test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scholtes committed May 24, 2019
1 parent 23e25be commit 84f2a08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 52 deletions.
52 changes: 1 addition & 51 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,57 +35,7 @@ cache:

jobs:
include:
- script: COVERAGE=1 npm start test.node
after_success: npm start coveralls

- &node
script: npm start test.node
node_js: '10'

- <<: *node
node_js: '8'

- <<: *node
node_js: '6'

- script: npm start test.bundle test.browser
install: npm ci # we need the native modules here
addons:
artifacts:
paths:
- .karma/
- ./mocha.js
chrome: stable
sauce_connect: true

- stage: lint
script: npm start lint

# smoke tests use default npm.
- &smoke
stage: smoke
env: null
before_install: true
install: npm install --production

script: ./bin/mocha --no-config --reporter spec test/sanity/sanity.spec.js
cache:
directories:
- ~/.npm
- node_modules # npm install, unlike npm ci, doesn't wipe node_modules

- <<: *smoke
node_js: '10'

- <<: *smoke
node_js: '8'

- <<: *smoke
node_js: '6'

- stage: precache
script: true

- script: npm start test.node.integration
notifications:
email: false
urls:
Expand Down
2 changes: 1 addition & 1 deletion package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = {
integration: {
script: test(
'integration',
'--timeout 10000 --slow 3750 "test/integration/**/*.spec.js"'
'--timeout 10000 --slow 3750 "test/integration/**/watch.spec.js"'
),
description: 'Run Node.js integration tests',
hiddenFromHelp: true
Expand Down

0 comments on commit 84f2a08

Please sign in to comment.