mirror of
https://github.com/kremalicious/blowfish.git
synced 2024-11-15 01:25:22 +01:00
test packaging on Travis
This commit is contained in:
parent
fe02b0f1d1
commit
11d50e52c2
23
.travis.yml
23
.travis.yml
@ -1,16 +1,27 @@
|
||||
dist: xenial
|
||||
osx_image: xcode10.2
|
||||
os: osx
|
||||
language: node_js
|
||||
node_js: node
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
env:
|
||||
global:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
|
||||
# will run `npm install` automatically here
|
||||
cache:
|
||||
npm: true
|
||||
directories:
|
||||
- $HOME/.cache/electron
|
||||
- $HOME/.cache/electron-builder
|
||||
- $HOME/.npm/_prebuilds
|
||||
|
||||
script:
|
||||
- npm test
|
||||
- npm run build
|
||||
- npm run dist
|
||||
|
||||
branches:
|
||||
except:
|
||||
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -8,7 +8,7 @@
|
||||
"test": "eslint --ignore-path .gitignore ./src/**/*.{js,jsx} && stylelint --ignore-path .gitignore ./src/**/*.{css,scss}",
|
||||
"start": "webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js",
|
||||
"build": "cross-env NODE_ENV=production webpack --config webpack.common.config.js",
|
||||
"package": "electron-builder build -mwl && open ./dist",
|
||||
"package": "electron-builder build -mwl -p never && open ./dist",
|
||||
"dist": "rm -rf {dist,build}/ && npm run build && npm run package",
|
||||
"release": "release-it --non-interactive",
|
||||
"changelog": "auto-changelog -p"
|
||||
|
Loading…
Reference in New Issue
Block a user