From c411294f0132b9e054e493dd434485cf1e359292 Mon Sep 17 00:00:00 2001 From: lukasmartinelli Date: Wed, 23 Nov 2016 16:16:05 +0100 Subject: [PATCH] Run Karma tests on Travis --- .travis.yml | 6 +++--- appveyor.yml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index cacbfff..8321a5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index e996c6a..cc15980 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,7 +6,5 @@ install: build_script: - npm run build test_script: - - node --version - - npm --version - npm run lint - npm test