Index: .travis.yml |
diff --git a/.travis.yml b/.travis.yml |
index 9029f88587540fbdd0739c5f39a1585fe9455f5a..6d9277e4bc3772f73fbddb957d2b41667ea4c281 100644 |
--- a/.travis.yml |
+++ b/.travis.yml |
@@ -5,6 +5,17 @@ dart: |
- stable |
before_install: |
- pub global activate dart_coveralls |
+install: |
+ - npm install |
+ - export CHROME_URL=https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64 |
+ - export CHROME_REV=$(curl -s ${CHROME_URL}/LAST_CHANGE) |
+ - curl ${CHROME_URL}/${CHROME_REV}/chrome-linux.zip --create-dirs -o out/chrome-linux.zip |
+ - unzip out/chrome-linux.zip -d out |
+before_script: |
+ - export CHROME_CANARY_BIN=$PWD/out/chrome-linux/chrome |
+ - export DISPLAY=:99.0 |
+ - sh -e /etc/init.d/xvfb start |
script: |
- ./tool/presubmit.sh |
+ - ./node_modules/karma/bin/karma start --single-run |
- ./tool/coverage.sh |