mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 07:41:04 +00:00
Travis: only attempt to deploy with linux/node12 build, take 2
This commit is contained in:
parent
f600047463
commit
b16e893237
@ -14,6 +14,7 @@ script:
|
|||||||
# Only run linter once, for faster CI. Remind to keep linter+deploy conditions below aligned
|
# 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
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_NODE_VERSION" = "12" ]; then npm run lint; fi
|
||||||
- npm test
|
- npm test
|
||||||
|
# https://docs.travis-ci.com/user/deployment
|
||||||
deploy:
|
deploy:
|
||||||
provider: npm
|
provider: npm
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
@ -24,4 +25,4 @@ deploy:
|
|||||||
tags: true
|
tags: true
|
||||||
repo: jiahaog/nativefier
|
repo: jiahaog/nativefier
|
||||||
node_js: '12' # Remind to keep linter+deploy conditions above aligned
|
node_js: '12' # Remind to keep linter+deploy conditions above aligned
|
||||||
os: linux
|
condition: '$TRAVIS_OS_NAME = linux'
|
||||||
|
Loading…
Reference in New Issue
Block a user