mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 14:21:19 +01:00
Run Karma tests on Travis
This commit is contained in:
parent
5f9406d562
commit
c411294f01
2 changed files with 3 additions and 5 deletions
|
@ -5,9 +5,8 @@ os:
|
||||||
node_js:
|
node_js:
|
||||||
- "5.11"
|
- "5.11"
|
||||||
- "6.1"
|
- "6.1"
|
||||||
before_script:
|
before_install:
|
||||||
- npm install -g eslint eslint-plugin-react
|
- export CHROME_BIN=chromium-browser
|
||||||
# prepare firefox
|
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
install:
|
install:
|
||||||
|
@ -15,3 +14,4 @@ install:
|
||||||
script:
|
script:
|
||||||
- npm run build
|
- npm run build
|
||||||
- npm run lint
|
- npm run lint
|
||||||
|
- npm run test
|
||||||
|
|
|
@ -6,7 +6,5 @@ install:
|
||||||
build_script:
|
build_script:
|
||||||
- npm run build
|
- npm run build
|
||||||
test_script:
|
test_script:
|
||||||
- node --version
|
|
||||||
- npm --version
|
|
||||||
- npm run lint
|
- npm run lint
|
||||||
- npm test
|
- npm test
|
||||||
|
|
Loading…
Reference in a new issue