insomnia/.travis.yml
2020-04-26 13:33:39 -07:00

26 lines
646 B
YAML

language: node_js
matrix:
include:
- os: osx # High Sierra for older libcurl compatibility
osx_image: xcode10.1
env:
- CSC_LINK=$MAC_CSC_LINK
- CSC_KEY_PASSWORD=$MAC_CSC_KEY_PASSWORD
cache:
directories:
- node_modules
- build/node_modules
- $HOME/.electron
- $HOME/.cache
script:
- node --version
- npm --version
- npm run bootstrap
- npm test
# Setup branch because Travis doesn't provide a good way to get it
- export TRAVIS_CURRENT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
- npm run app-release