mirror of
https://github.com/maputnik/editor.git
synced 2026-02-04 19:50:01 +00:00
Run Karma tests on Travis
This commit is contained in:
@@ -5,9 +5,8 @@ os:
|
||||
node_js:
|
||||
- "5.11"
|
||||
- "6.1"
|
||||
before_script:
|
||||
- npm install -g eslint eslint-plugin-react
|
||||
# prepare firefox
|
||||
before_install:
|
||||
- export CHROME_BIN=chromium-browser
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
install:
|
||||
@@ -15,3 +14,4 @@ install:
|
||||
script:
|
||||
- npm run build
|
||||
- npm run lint
|
||||
- npm run test
|
||||
|
||||
@@ -6,7 +6,5 @@ install:
|
||||
build_script:
|
||||
- npm run build
|
||||
test_script:
|
||||
- node --version
|
||||
- npm --version
|
||||
- npm run lint
|
||||
- npm test
|
||||
|
||||
Reference in New Issue
Block a user