2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-09-22 01:29:02 +00:00

Travis: only attempt to deploy with linux/node12 build, take 2

This commit is contained in:
Ronan Jouchet 2020-03-15 17:40:43 -04:00
parent f600047463
commit b16e893237

View File

@ -14,6 +14,7 @@ script:
# Only run linter once, for faster CI. Remind to keep linter+deploy conditions below aligned
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_NODE_VERSION" = "12" ]; then npm run lint; fi
- npm test
# https://docs.travis-ci.com/user/deployment
deploy:
provider: npm
skip_cleanup: true
@ -24,4 +25,4 @@ deploy:
tags: true
repo: jiahaog/nativefier
node_js: '12' # Remind to keep linter+deploy conditions above aligned
os: linux
condition: '$TRAVIS_OS_NAME = linux'