2018-05-19 04:49:26 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2018-05-21 01:42:19 +00:00
|
|
|
sudo: false
|
2018-05-18 04:12:30 +00:00
|
|
|
|
2018-05-20 12:48:39 +00:00
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- rpm
|
|
|
|
|
2018-05-21 01:42:19 +00:00
|
|
|
git:
|
|
|
|
depth: 5
|
|
|
|
|
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- 8.11.2
|
|
|
|
|
2018-06-01 16:46:10 +00:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
|
|
|
|
2017-11-14 03:00:02 +00:00
|
|
|
before_install:
|
2018-05-20 12:42:53 +00:00
|
|
|
- npm i -g npm@6.0.1
|
2017-11-14 03:00:02 +00:00
|
|
|
- npm install gulp -g
|
|
|
|
|
|
|
|
script:
|
2018-06-01 16:46:10 +00:00
|
|
|
- npm test
|
2017-11-14 03:00:02 +00:00
|
|
|
- gulp release
|
2018-05-19 04:49:26 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then gulp release --chromeos; fi
|
2017-11-14 03:00:02 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2018-05-20 13:14:25 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
|
|
|
|
on_success: always # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: always # options: [always|never|change] default: always
|