Skip to content

Commit

Permalink
Remove xvfb for saucelabs. Use wct instead of polymer-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Nov 23, 2017
1 parent 922f6ef commit 8e85e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ install:
before_script:
- gulp lint version:check
- polymer lint --rules polymer-2 --input *.html
- xvfb-run -s '-screen 0 1024x768x24' polymer test
- xvfb-run -s '-screen 0 1024x768x24' wct

script:
- if [[ "$TRAVIS_EVENT_TYPE" != "pull_request" && "$TRAVIS_BRANCH" != quick/* ]]; then
npm i --no-save gemini@^4.0.0 gemini-sauce gemini-polyserve &&
gemini test test/visual &&
gemini test test/visual -c .gemini-chrome.yml &&
xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs;
wct --env saucelabs;
fi
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
xvfb-run -s '-screen 0 1024x768x24' polymer test --env saucelabs-cron;
wct --env saucelabs-cron;
fi

0 comments on commit 8e85e00

Please sign in to comment.