Skip to content

Commit

Permalink
Merge pull request #1380 from nextstrain/travis
Browse files Browse the repository at this point in the history
Update TravisCI config
  • Loading branch information
jameshadfield authored Jul 16, 2021
2 parents b11e921 + a3fa1f1 commit dbc73f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ language: node_js
sudo: false
dist: bionic
node_js:
- '10'
- '12'
- '14'
- '16'
install:
- npm install
- pip install --user awscli
script:
- npm run build
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "release" ]]; then
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "release" && "$TRAVIS_NODE_VERSION" == "14" ]]; then
npm run rebuild-docker-image;
npm config set //registry.npmjs.org/:_authToken="$NPM_TOKEN";
npm publish;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"repository": "github:nextstrain/auspice",
"homepage": "https://www.npmjs.com/package/auspice",
"engines": {
"node": ">=10.8.0 <=13.14",
"npm": ">=6.2"
"node": ">=12 <=16",
"npm": ">=6.9"
},
"bin": {
"auspice": "./auspice.js"
Expand Down

0 comments on commit dbc73f1

Please sign in to comment.