maputnik/.travis.yml

42 lines
792 B
YAML
Raw Normal View History

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:
- os: linux
node_js: "6"
2017-04-04 21:18:50 +02:00
- os: linux
env: CXX=g++-4.8
node_js: "7"
- os: linux
node_js: "8"
- os: linux
env: CXX=g++-4.8
node_js: "9"
- os: osx
node_js: "6"
2017-04-04 21:18:50 +02:00
- os: osx
node_js: "7"
- os: osx
node_js: "8"
- os: osx
node_js: "9"
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
- 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
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8