2016-09-19 21:33:47 +02:00
|
|
|
language: node_js
|
2016-11-23 19:18:22 +01:00
|
|
|
addons:
|
|
|
|
firefox: latest
|
2017-04-04 21:18:50 +02:00
|
|
|
matrix:
|
2017-04-04 22:42:08 +02:00
|
|
|
include:
|
2017-11-07 19:20:35 +01:00
|
|
|
# - os: linux
|
|
|
|
# node_js: "4"
|
2017-04-05 15:13:16 +02:00
|
|
|
- os: linux
|
|
|
|
env: CXX=g++-4.8
|
|
|
|
node_js: "5"
|
|
|
|
- os: linux
|
|
|
|
node_js: "6"
|
2017-04-04 21:18:50 +02:00
|
|
|
- os: linux
|
|
|
|
env: CXX=g++-4.8
|
2017-04-05 15:13:16 +02:00
|
|
|
node_js: "7"
|
2017-11-07 19:20:35 +01:00
|
|
|
# - os: osx
|
|
|
|
# node_js: "4"
|
2017-04-05 15:13:16 +02:00
|
|
|
- os: osx
|
|
|
|
node_js: "5"
|
|
|
|
- os: osx
|
|
|
|
node_js: "6"
|
2017-04-04 21:18:50 +02:00
|
|
|
- os: osx
|
2017-04-05 15:13:16 +02:00
|
|
|
node_js: "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
|
2017-04-04 19:29:15 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|