2016-05-19 14:03:39 +02:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
2018-03-05 10:44:36 +01:00
|
|
|
- "8"
|
2016-05-19 14:03:39 +02:00
|
|
|
|
2016-06-28 19:36:00 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
|
2017-10-12 17:42:10 +02:00
|
|
|
- JOBS=1 # See https://git.io/vdao3 for details.
|
2016-06-28 19:36:00 +02:00
|
|
|
|
2016-06-22 18:31:11 +02:00
|
|
|
branches:
|
2016-07-15 18:51:00 +02:00
|
|
|
except:
|
2016-06-22 18:31:11 +02:00
|
|
|
- /^greenkeeper-.+$/
|
2016-05-24 14:07:31 +02:00
|
|
|
|
2016-05-19 14:03:39 +02:00
|
|
|
cache:
|
2017-02-19 15:36:07 +01:00
|
|
|
yarn: true
|
2016-05-19 14:03:39 +02:00
|
|
|
directories:
|
2017-09-02 11:19:07 +02:00
|
|
|
- $HOME/.npm
|
|
|
|
- $HOME/.cache # includes bower's cache
|
2016-05-19 14:03:39 +02:00
|
|
|
|
|
|
|
addons:
|
|
|
|
firefox: "latest"
|
2017-09-01 14:46:25 +02:00
|
|
|
chrome: "stable"
|
2016-05-19 14:03:39 +02:00
|
|
|
|
2017-09-02 11:19:07 +02:00
|
|
|
before_install:
|
|
|
|
# install latest yarn
|
|
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
|
|
- export PATH=$HOME/.yarn/bin:$PATH
|
|
|
|
|
2016-05-19 14:03:39 +02:00
|
|
|
install:
|
2017-02-19 15:36:07 +01:00
|
|
|
- yarn
|
2016-05-19 14:03:39 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
|
|
|
|
|
|
|
|
script:
|
2018-01-05 16:38:23 +01:00
|
|
|
- npm run lint:js
|
2017-01-10 00:00:12 +01:00
|
|
|
- COVERAGE=true npm test
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- npm run coverage
|