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:
|
2017-04-04 19:09:43 +02:00
|
|
|
- "4"
|
|
|
|
- "5"
|
|
|
|
- "6"
|
|
|
|
- "7"
|
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
|
2017-01-09 11:39:52 +01:00
|
|
|
- node --stack_size=100000 $(which npm) run build
|
2016-09-20 18:10:57 +02:00
|
|
|
- npm run lint
|
2017-01-12 11:23:06 +01:00
|
|
|
- npm run lint-styles
|
2016-11-23 16:16:05 +01:00
|
|
|
- npm run test
|