diff --git a/.travis.yml b/.travis.yml
index 09b06ba..4e4ccbf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,15 @@
language: node_js
sudo: false
-node_js: 4
+node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
+ - ubuntu-toolchain-r-test
packages:
- google-chrome-stable
-before_script:
-- export PATH=$PWD/node_modules/.bin:$PATH
+ - g++-4.8
script:
- xvfb-run wct
- "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi"
@@ -17,3 +17,4 @@ env:
global:
- secure: c0kVrjNDtqd06Gyg4Xi3iopr0KCz1k0LbZeL+TCbnyCdmAE7m9FcJASWvM2Zr7d774hTiMSi0Z79SlV6XZhLN2pi4EsbdEpsnVeAXXH/GYzDKgpXbdfD/nQv4n1nMXL6XSaZkAX7WwgmrjzJ9cXQJYV9vNHIBRcGoVRRyCFx9v4=
- secure: Mo+AVRGUmlDENnZ2GioF5pU62WhyLUMnPlSqzeodZzJoAnwcNr9VnHiRCgQBLnHCZwjbMv6C0vhWopY7lN9w77vlS5vr8MDZKjYT/YRl9jk0+hStJ+diSS9MD+FnNNerXe+V+WA6NYVHno3vdWRqDDMYzCdH/pyLukkuKdMFaAU=
+ - CXX=g++-4.8
diff --git a/bower.json b/bower.json
index 8ff26d6..9cee35a 100644
--- a/bower.json
+++ b/bower.json
@@ -16,6 +16,6 @@
"license": "BSD",
"ignore": [],
"devDependencies": {
- "web-component-tester": "3.4"
+ "web-component-tester": "^4.0.1"
}
}
diff --git a/package.json b/package.json
index e62ee5a..1661f2c 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,9 @@
"bugs": {
"url": "https://github.com/webcomponents/webcomponentsjs/issues"
},
+ "scripts": {
+ "test": "wct"
+ },
"homepage": "http://webcomponents.org",
"devDependencies": {
"gulp": "^3.8.8",
@@ -23,6 +26,6 @@
"gulp-header": "^1.1.1",
"gulp-uglify": "^1.0.1",
"run-sequence": "^1.0.1",
- "web-component-tester": "^3"
+ "web-component-tester": "^4.0.1"
}
}
diff --git a/tests/HTMLImports/runner.html b/tests/HTMLImports/runner.html
index 8a43c60..8c21423 100644
--- a/tests/HTMLImports/runner.html
+++ b/tests/HTMLImports/runner.html
@@ -14,7 +14,6 @@
+