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.
32 lines
721 B
32 lines
721 B
os:
|
|
- osx
|
|
- linux
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
- $HOME/.electron
|
|
|
|
install:
|
|
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
|
|
- source ~/.bashrc
|
|
- nvm install 4.2.2
|
|
- nvm use 4.2.2
|
|
- npm install
|
|
|
|
branches:
|
|
except:
|
|
- website
|
|
|
|
script:
|
|
- npm run test
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./sig/import.sh && npm run make:darwin && node ./sig/publish-mac.js; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then npm run make:linux && echo Success; fi #&& node ./sig/publish-linux.js; fi
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/92deafd1eb3a9871497b
|
|
on_success: always
|
|
on_failure: always
|
|
on_start: never
|
|
|