auspice
Version:
Web app for visualizing pathogen evolution
20 lines (19 loc) • 411 B
YAML
language: node_js
sudo: false
node_js:
- '10'
install:
- npm install
- pip install --user awscli
script:
- npm run build
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "release" ]]; then
npm run rebuild-docker-image;
npm config set //registry.npmjs.org/:_authToken="$NPM_TOKEN";
npm publish;
fi
notifications:
email:
on_success: never
on_failure: always