You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

34 lines
747 B

os:
- osx
cache:
directories:
- $HOME/.electron
install:
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
- source ~/.bashrc
- nvm install 6.3.0
- nvm use 6.3.0
- npm i -g npm
- rm -rf node_modules
- npm install
branches:
except:
- website
script:
- npm run test
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then ./sig/import.sh && npm run make:darwin && node ./sig/publish-mac.js; fi
- if [[ $TRAVIS_PULL_REQUEST != "false" ]]; then npm run package:darwin; fi
- npm run test-electron
- npm run test-spectron
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/92deafd1eb3a9871497b
on_success: always
on_failure: always
on_start: never