CI builds zip for all platforms

// FREEBIE
This commit is contained in:
lilia 2017-05-04 12:05:08 -07:00 committed by Scott Nonnenberg
parent 2ccd8c21f3
commit a2667f784b
No known key found for this signature in database
GPG key ID: A4931C09644C654B
3 changed files with 2 additions and 5 deletions

View file

@ -21,7 +21,4 @@ notifications:
addons:
artifacts:
paths:
- $(ls ./dist/*.dmg | tr "\n" ":")
- $(ls ./dist/*.zip | tr "\n" ":")
- $(ls ./dist/*.deb | tr "\n" ":")
- $(ls ./dist/*.rpm | tr "\n" ":")

View file

@ -18,7 +18,7 @@ build_script:
- yarn ci-build
artifacts:
- path: dist/*.exe
- path: dist/*.zip
deploy:
provider: Environment

View file

@ -35,7 +35,7 @@
"test": "grunt test",
"lint": "grunt jshint",
"start": "electron .",
"ci-build": "npm run icon-gen && grunt && build --em.environment=$NODE_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --config.mac.target=zip --publish=never",
"ci-build": "npm run icon-gen && grunt && build --em.environment=$NODE_ENV --config.mac.bundleVersion='$TRAVIS_BUILD_NUMBER' --config.mac.target=zip --config.win.target=zip --config.linux.target=zip --publish=never",
"dist": "npm run icon-gen && grunt && build --em.environment=$NODE_ENV",
"pack": "npm run dist -- --dir",
"pack-staging": "NODE_ENV=staging npm run pack",