-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate airtap #345
Integrate airtap #345
Conversation
package.json
Outdated
@@ -24,6 +25,8 @@ | |||
"scripts": { | |||
"test": "tap -j 4 test/parallel/*.js test/ours/*.js", | |||
"ci": "TAP=1 tap test/parallel/*.js test/ours/*.js | tee test.tap", | |||
"test-browsers": "airtap --sauce-connect --no-coverage -- test/browser.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With latest airtap
(0.0.9) you no longer need --no-coverage
. Collecting code coverage became opt-in.
I'm getting:
have you got any clues? cc @vweevers @ralphtheninja |
.travis.yml
Outdated
script: npm run $CMD | ||
env: | ||
global: | ||
- secure: rE2Vvo7vnjabYNULNyLFxOyt98BoJexDqsiOnfiD6kLYYsiQGfr/sbZkPMOFm9qfQG7pjqx+zZWZjGSswhTt+626C0t/njXqug7Yps4c3dFblzGfreQHp7wNX5TFsvrxd6dAowVasMp61sJcRnB2w8cUzoe3RAYUDHyiHktwqMc= | ||
- secure: g9YINaKAdMatsJ28G9jCGbSaguXCyxSTy+pBO6Ch0Cf57ZLOTka3HqDj8p3nV28LUIHZ3ut5WO43CeYKwt4AUtLpBS3a0dndHdY6D83uY6b2qh5hXlrcbeQTq2cvw2y95F7hm4D1kwrgZ7ViqaKggRcEupAL69YbJnxeUDKWEdI= | ||
- secure: nk/kDUZV385ey9kkrGi6EHvnslTAW+GEHGrjbFIsb8Foq01bL9oj0uPaVc5kaVWCHst3WsIdVMA1Hos/lN/WMHRyfOiSrVVWv0sVnzg0YaM9cBbn5jwXn30Z645REgQcoEDKrYFp8rE3RpPFgYDFWNh948qwPtwtnwNhoq/Gd9A= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From airtap: } else if (!config.username || !config.key) {
console.error(chalk.red('Error:'))
console.error(chalk.red('Airtap tried to run tests in Sauce Labs, however no credentials were provided.'))
console.error(chalk.cyan('See doc/cloud-testing.md for info on how to setup cloud testing.'))
process.exit(1)
} And config.username = process.env.SAUCE_USERNAME || config.sauce_username
config.key = process.env.SAUCE_ACCESS_KEY || config.sauce_key @mcollina To which environment variables are you setting the secure values? |
@vweevers I'm on my way to Amsterdam and have to pack so don't have more time atm. Maybe you can jump in a bit? |
SAUCE_USERNAME and SAUCE_ACCESS_KEY. But here is what I'm seeing on travis-ci.com: https://travis-ci.com/nodejs/readable-stream/jobs/132925702#L430-L431 |
Setting in on travis worked!!! |
Works on IE 11 as well. Hurray! |
Supersedes #340 because of the elevated permission to run Sauce Labs with travis