Skip to content

Commit

Permalink
try to fix smoke test in node 10
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Hiller <[email protected]>
  • Loading branch information
boneskull committed May 28, 2020
1 parent 4113c63 commit c655c1e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,15 @@ jobs:
stage: smoke
env: null
before_install: true
install: true
name: 'Latest Node.js'
script: |
install: |
TARBALL=$(npm pack) && \
mkdir -p /tmp/mocha-smoke && \
cp -r test/smoke /tmp/mocha-smoke/test && \
cp -r test/smoke /tmp/mocha-smoke && \
mv $TARBALL /tmp/mocha-smoke && \
cd /tmp/mocha-smoke && \
npm install $TARBALL && \
node_modules/.bin/mocha
npm install $TARBALL
name: 'Latest Node.js'
script: 'node_modules/.bin/mocha'

- <<: *smoke
node_js: '12'
Expand All @@ -93,6 +92,7 @@ jobs:
- <<: *smoke
node_js: '10'
name: 'Node.js v10'
script: 'node_modules/.bin/mocha "test/*.js"'

- stage: precache
script: true
Expand Down

0 comments on commit c655c1e

Please sign in to comment.