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
|
|
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
2019-07-06 21:25:23 +02:00
|
|
|
- npm run dist
|
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- "/^v\\d+\\.\\d+\\.\\d+$/"
|
2019-05-19 16:12:10 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
2019-07-27 16:32:39 +02:00
|
|
|
slack:
|
|
|
|
template:
|
2019-09-24 02:13:53 +02:00
|
|
|
- '`%{repository_slug}#%{branch}`'
|
|
|
|
- '*%{result}* build (<%{build_url}|#%{build_number}>) for <%{compare_url}|%{commit}>'
|
|
|
|
- 'Execution time: *%{duration}*'
|
|
|
|
- 'Message: %{message}'
|
2019-07-27 16:32:39 +02:00
|
|
|
rooms:
|
|
|
|
- secure: r6kVJw3zS4raTXgeBEYZYO/5YawnLoi1vO4zG3obhcNFRLm9FxlzuXfulFhjQA4viPQUW07m5UGud4bPTrDIAE35GUcLRlyisH/odahgsrmqLrBvz9CB+/V5WrEsCGpE9G3I/y5JGSRavjs+5qfVqJZaAI9Ox7bCcw+Msa5r/p7/yJw5di4EzgNLFWQswyio0zeOdjtCYgqpngWtLGpn0ksSwqNyqp/kntoHSz4nDdO/6GWS1q5K9mOfGMXr/wwiYuQrgDPpygRWETy9F8qh9yH2cseJmCZaXvSTSU1L9yV01qrBP5zDTTM2jPUGMQKY4JBoxFtU29G1BLWGAgMW9ymKe9V+f8FgbirZ+O1Vp87QAZPJXx5kO+pgqBtGewoYfp0k9HJ5xQAhr83l82w8BAEHVS3G/Y7cKKK9QNH9Z6gpdx6Y3s9YkpGqkv79MRvZo0tJV+XTOldCCfUFVxXXuZofuswWGUgt2h9qNoFY+AZc0G1TV/XVDHbDm32JNiGkuk+uO83HT9VI7G5PRWNcD8kP7ZS6XThiU2qOGr4OPGggmpFpJ7Yqc3LNFOjhFunKSzGOrZrc0GLZAbAR7qHkWNpiqQQ/RSpfnXfbPlAIJY6w5Vuzh9KhIIPkbWdP89Bc2Kw+W+ACFjStO7s298/8dty44EvJ2TS9CCjOhYtgaxk=
|