2019-09-24 02:13:53 +02:00
|
|
|
osx_image: xcode11
|
2019-07-06 21:25:23 +02:00
|
|
|
os: osx
|
2019-05-19 16:12:10 +02:00
|
|
|
language: node_js
|
|
|
|
node_js: node
|
|
|
|
|
2019-07-06 21:25:23 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- ELECTRON_CACHE=$HOME/.cache/electron
|
|
|
|
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
|
|
|
|
2019-05-19 16:12:10 +02:00
|
|
|
cache:
|
2019-07-06 21:25:23 +02:00
|
|
|
npm: true
|
2019-05-19 16:12:10 +02:00
|
|
|
directories:
|
2019-07-06 21:25:23 +02:00
|
|
|
- $HOME/.cache/electron
|
|
|
|
- $HOME/.cache/electron-builder
|
|
|
|
- $HOME/.npm/_prebuilds
|
2019-05-19 16:12:10 +02:00
|
|
|
|
2019-09-24 02:13:53 +02:00
|
|
|
before_script:
|
|
|
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter
|
|
|
|
- chmod +x ./cc-test-reporter
|
|
|
|
- ./cc-test-reporter before-build
|
|
|
|
|
2019-05-19 16:12:10 +02:00
|
|
|
script:
|
2019-09-24 02:13:53 +02:00
|
|
|
- npm test || travis_terminate 1
|
2020-02-08 23:23:46 +01:00
|
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
2020-10-10 15:37:05 +02:00
|
|
|
- npm run build
|
2019-07-06 21:25:23 +02:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
2019-05-19 16:12:10 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|