Skip to content

Commit

Permalink
chore: add nodejs 14 to travis CI matrix and fix functional test fail…
Browse files Browse the repository at this point in the history
…ure (#2051)
  • Loading branch information
rpl authored Oct 15, 2020
1 parent 4ab3043 commit 0f2b651
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,33 @@ os:
node_js:
- '10'
- '12'
- '14'

# Skip node_js 6 on travis windows workers (as it often fails because
# travis fails to init the node_js 6 environment).
jobs:
fast_finish: true

exclude:
# The travis CI windows worker are slower than the linux ones, restrict the
# jobs running on windows to just the last nodejs version listed in the.
# node_js property.
- node_js: '10'
os: windows
- node_js: '12'
os: windows

include:
- stage: npm audit and lint github PR title
## Keep this in sync with the last version listed in the node_js property.
node_js: '12'
node_js: '14'
os: linux
script:
- npm run audit-deps
- npm run travis-pr-title-lint
- stage: deploy on npm
## Keep this in sync with the last version listed in the node_js property.
node_js: '12'
node_js: '14'
os: linux
script: echo "Deploying to npm..."
## Make sure we have a production build.
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test.cli.run.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('web-ext run', () => {
{addonPath: minimalAddonPath},
(srcDir) => {
const watchedFile = path.join(srcDir, 'watchedFile.txt');
fs.writeFileSync(watchedFile);
fs.writeFileSync(watchedFile, '');

const argv = [
'run', '--verbose', '--no-reload',
Expand Down

0 comments on commit 0f2b651

Please sign in to comment.