2016-05-19 15:03:39 +03:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
2016-07-15 14:12:17 +03:00
|
|
|
- "4"
|
2016-05-19 15:03:39 +03:00
|
|
|
|
2016-06-28 20:36:00 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
|
|
|
|
|
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:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
|
|
|
|
addons:
|
|
|
|
firefox: "latest"
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- google-chrome
|
|
|
|
packages:
|
|
|
|
- google-chrome-stable
|
|
|
|
|
2017-01-26 18:11:50 +03:00
|
|
|
before_install:
|
|
|
|
- npm config --global set spin false
|
|
|
|
- npm install -g npm@^2
|
|
|
|
|
2016-05-19 15:03:39 +03:00
|
|
|
install:
|
2017-01-26 18:11:50 +03:00
|
|
|
- npm install -g bower
|
|
|
|
- npm install
|
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:
|
2017-01-10 02:00:12 +03:00
|
|
|
- COVERAGE=true npm test
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- npm run coverage
|