From 8abf2ec93c4e954940f86a8512f139dab39eb05f Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Mon, 30 Apr 2018 16:52:10 -0700 Subject: [PATCH] Use module flags for wct --- .travis.yml | 4 ++-- util/travis-sauce-test.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9d26c9fc22..aabc1ee35e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ cache: directories: - node_modules before_script: -- npm install -g bower gulp-cli@1 +- npm install -g gulp-cli@1 - gulp lint-eslint # TODO(dfreedm): re-enable after making update-types work #- >- @@ -17,7 +17,7 @@ before_script: # '\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run # update-types".' && false) script: -- wct -l chrome -l firefox +- wct --npm --module-resolution=node -l chrome -l firefox - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then travis_wait 30 ./util/travis-sauce-test.sh; fi env: global: diff --git a/util/travis-sauce-test.sh b/util/travis-sauce-test.sh index 7d760f075b..fa6c59fb86 100755 --- a/util/travis-sauce-test.sh +++ b/util/travis-sauce-test.sh @@ -9,4 +9,4 @@ # subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt # set -x -wct -s 'windows 10/microsoftedge@14' -s 'windows 10/microsoftedge@15' -s 'windows 10/microsoftedge@16' -s 'windows 8.1/internet explorer@11' -s 'os x 10.11/safari@9' -s 'macos 10.12/safari@10' -s 'macos 10.13/safari@11' -s 'Linux/chrome@41' \ No newline at end of file +wct --npm --module-resolution=node -s 'windows 10/microsoftedge@14' -s 'windows 10/microsoftedge@15' -s 'windows 10/microsoftedge@16' -s 'windows 8.1/internet explorer@11' -s 'os x 10.11/safari@9' -s 'macos 10.12/safari@10' -s 'macos 10.13/safari@11' -s 'Linux/chrome@41' \ No newline at end of file