2016-05-19 15:03:39 +03:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "0.10"
|
|
|
|
|
2016-05-24 15:07:31 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- node_js: "0.10"
|
|
|
|
env: TEST_SUITE=lint
|
2016-06-22 19:31:11 +03:00
|
|
|
|
|
|
|
branches:
|
|
|
|
exclude:
|
|
|
|
- /^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
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- npm config --global set spin false
|
|
|
|
- npm install -g npm@^2
|
|
|
|
|
|
|
|
install:
|
|
|
|
- npm install -g bower
|
|
|
|
- npm install
|
|
|
|
- bower install
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
|
|
|
|
|
|
|
|
script:
|
2016-05-24 15:07:31 +03:00
|
|
|
- if [ "$TEST_SUITE" == "lint" ]; then grunt lint; else npm test; fi
|