1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

Change to snap on travisCI

This commit is contained in:
asmsuechan
2017-10-16 13:52:42 +09:00
parent 43110f8f2a
commit aa71b4c1b8
2 changed files with 18 additions and 4 deletions

Binary file not shown.

View File

@@ -1,6 +1,20 @@
language: node_js
node_js:
- 'stable'
- 'lts/*'
script: npm run lint && npm run test
- stable
- lts/*
script:
- npm run lint && npm run test
- npm install -g grunt npm@5.2 && grunt pre-build
after_success:
- openssl aes-256-cbc -K $encrypted_440d7f9a3c38_key -iv $encrypted_440d7f9a3c38_iv
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
sudo: required
services:
- docker
deploy:
'on':
branch: master
provider: script
script: if [ ${TRAVIS_NODE_VERSION} = "stable" ];then docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "apt update -qq
&& cd $(pwd) && snapcraft && snapcraft push *.snap --release edge"; fi
skip_cleanup: true