1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-11 08:46:20 +00:00

Change to run build script only master branch

This commit is contained in:
asmsuechan
2017-10-16 14:03:19 +09:00
parent aa71b4c1b8
commit 89dba149a3

View File

@@ -4,7 +4,7 @@ node_js:
- lts/*
script:
- npm run lint && npm run test
- npm install -g grunt npm@5.2 && grunt pre-build
- 'if [[ ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} = "master" ]]; then npm install -g grunt npm@5.2 && grunt pre-build; fi'
after_success:
- openssl aes-256-cbc -K $encrypted_440d7f9a3c38_key -iv $encrypted_440d7f9a3c38_iv
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d