2016-09-19 21:33:47 +02:00
|
|
|
language: node_js
|
2016-11-23 19:18:22 +01:00
|
|
|
addons:
|
|
|
|
firefox: latest
|
2016-11-03 13:38:30 +01:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2016-09-19 21:33:47 +02:00
|
|
|
node_js:
|
2016-11-23 16:38:52 +01:00
|
|
|
- "4.6"
|
2016-11-03 13:42:58 +01:00
|
|
|
- "5.11"
|
2016-09-19 21:33:47 +02:00
|
|
|
- "6.1"
|
2016-11-23 16:16:05 +01:00
|
|
|
before_install:
|
|
|
|
- export CHROME_BIN=chromium-browser
|
2016-11-23 14:38:09 +01:00
|
|
|
- export DISPLAY=:99.0
|
2016-11-23 19:12:39 +01:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
|
2016-09-19 21:33:47 +02:00
|
|
|
install:
|
|
|
|
- npm install
|
|
|
|
script:
|
2016-11-25 13:40:56 +01:00
|
|
|
- mkdir public
|
2016-09-19 21:33:47 +02:00
|
|
|
- npm run build
|
2016-09-20 18:10:57 +02:00
|
|
|
- npm run lint
|
2016-11-23 16:16:05 +01:00
|
|
|
- npm run test
|