mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 13:05:27 +01:00
41 lines
792 B
YAML
41 lines
792 B
YAML
language: node_js
|
|
addons:
|
|
firefox: latest
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
node_js: "6"
|
|
- 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"
|
|
- os: osx
|
|
node_js: "7"
|
|
- os: osx
|
|
node_js: "8"
|
|
- os: osx
|
|
node_js: "9"
|
|
before_install:
|
|
- export CHROME_BIN=chromium-browser
|
|
- export DISPLAY=:99.0
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
|
|
install:
|
|
- npm install
|
|
script:
|
|
- mkdir public
|
|
- node --stack_size=100000 $(which npm) run build
|
|
- npm run lint
|
|
- npm run lint-styles
|
|
- npm run test
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.8
|