run Travis build only when secure vars are available

This commit is contained in:
Matthias Kretschmann 2018-11-10 21:20:53 +01:00
parent 18cbe4b43d
commit 638250e646
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ node_js: node
script:
- npm test
- npm run build
- 'if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ]; then npm run build; fi'
notifications:
email: false