Skip to content

Commit

Permalink
[test] local Firefox and sauce Chrome in 2 phases
Browse files Browse the repository at this point in the history
  • Loading branch information
t2ym committed Jun 22, 2017
1 parent 7349cf4 commit 629f112
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Expand Up @@ -7,7 +7,7 @@ dist: trusty
before_script:
- npm install -g bower t2ym/polymer-cli#wct6-plugin t2ym/web-component-tester-istanbul#0.10.1-wct6.11
- export PATH=$PWD/node_modules/.bin:$PATH
- polymer install
- polymer install --variants
env:
global:
- secure: "TYuWltmNCalwYRDJ+Pnb6mWbzri6rzU90oFAYbkZ7lpA3EW+Art8Dy4ikeoBlJF9Tm5ZCnuCzJe/NPFBQvLY/lnrhGQGlUjozrZ4aMk7xxT9YSbiLq34N8ak4cfRY7Rk9NI9r3sA+LKfGRrTxB4xLks1Jg3gOe6bKTfcnOsPKMcOUnUmZOql3k12KoVAbW7wI4xcnLKGmFfDXwvuzeOzdX9zKZJrn0u5avzuNEHvPsqPQnf6ihH8XqjOJhBGqtnxig70dqmfyd9FnkSSbDgnel787QFqwo2PuxaZ4q8PBR2s5YM+KfyuKefn8MOxyqndzAcEVLAbBuwb8DlcQlxXcY0sZe5tP6uUaOpv/2eKMQqf9q6FlwH8qQspF8NA6yiMmtROPAojpdquCEyVd9E7wSphoOB+etCkqcqyoivYdggyE9+QEJRuMYigkRa6Ut0QO8S0HCcTatRTFUMug14odlPLZb5Acpw6y7QgfxYlyO8i7uwIRQfnLSKyovQvSG5rTDkNMyT+W0VqKUplLHZc21XWGNLaSC+IMYGlOyHRx0EBbizdFavfGAOShvgAj6JZvbv9glpQWSBBdQVzzBVHK/KRmAbIQJVQDWsMG4tOxgAxhqBX6ZMLS1+1RTE+IhexsUvXrFjzV5y4CSQdE9r5SaV1C8rHbSd6wmIpYZgKcMI="
Expand All @@ -22,13 +22,13 @@ addons:
- google-chrome-stable
sauce_connect: true
script:
- xvfb-run wct --expanded --plugin=sauce --configFile=wct.conf.json
- #mv bower_components-1.x tmp_bower_components-1.x
- #mv bower-1.x.json tmp_bower-1.x.json
- #xvfb-run wct --expanded --configFile=wct.config-firefox2.json
- #mv bower_components tmp_bower_components
- #mv bower.json tmp_bower.json
- #mv tmp_bower_components-1.x bower_components
- #mv tmp_bower-1.x.json bower.json
- #xvfb-run wct --expanded --configFile=wct.config-firefox1.json
- #xvfb-run wct --expanded --plugin=sauce --configFile=wct.conf.json
- mv bower_components-1.x tmp_bower_components-1.x
- mv bower-1.x.json tmp_bower-1.x.json
- xvfb-run wct --expanded --configFile=wct.config-firefox2.json
- mv bower_components tmp_bower_components
- mv bower.json tmp_bower.json
- mv tmp_bower_components-1.x bower_components
- mv tmp_bower-1.x.json bower.json
- xvfb-run wct --expanded --configFile=wct.config-firefox1.json
- if [ "${TRAVIS_BRANCH}" != "" ]; then lcov-result-merger 'test/coverage-report*/lcov.info' | ./node_modules/coveralls/bin/coveralls.js || echo success; fi
10 changes: 10 additions & 0 deletions wct.config-firefox1.json
Expand Up @@ -5,6 +5,16 @@
"firefox"
]
},
"sauce": {
"disabled": false,
"browsers": [
{
"browserName": "chrome",
"platform": "Windows 10",
"version": ""
}
]
},
"istanbul": {
"dir": "test/coverage-report-firefox1",
"reporters": ["text-summary", "lcov"],
Expand Down
10 changes: 10 additions & 0 deletions wct.config-firefox2.json
Expand Up @@ -5,6 +5,16 @@
"firefox"
]
},
"sauce": {
"disabled": false,
"browsers": [
{
"browserName": "chrome",
"platform": "Windows 10",
"version": ""
}
]
},
"istanbul": {
"dir": "test/coverage-report-firefox2",
"reporters": ["text-summary", "lcov"],
Expand Down

0 comments on commit 629f112

Please sign in to comment.