From b16e893237abb70108ac3a9d25aae101915375cc Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Sun, 15 Mar 2020 17:40:43 -0400 Subject: [PATCH] Travis: only attempt to deploy with linux/node12 build, take 2 --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6bf2275..ab18dd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'