aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/preact/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/preact/.travis.yml')
-rw-r--r--thirdparty/preact/.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/thirdparty/preact/.travis.yml b/thirdparty/preact/.travis.yml
index 5953c1a84..8a5ff0a0d 100644
--- a/thirdparty/preact/.travis.yml
+++ b/thirdparty/preact/.travis.yml
@@ -9,13 +9,19 @@ cache:
directories:
- node_modules
+# Make chrome browser available for testing
+before_install:
+ - export CHROME_BIN=chromium-browser
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
+
install:
- npm install
script:
- npm run build
- npm run test
- - SAUCELABS=true COVERAGE=false FLAKEY=false PERFORMANCE=false npm run test:karma
+ - BROWSER=true COVERAGE=false FLAKEY=false PERFORMANCE=false npm run test:karma
# Necessary to compile native modules for io.js v3 or Node.js v4
env: