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