Skip to content
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

Replace zuul with airtap #1309

Merged
merged 6 commits into from Feb 21, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -0,0 +1,7 @@
sauce_connect: true
loopback: airtap.local
browsers:
- name: chrome
version: latest
- name: firefox
version: latest
@@ -1,21 +1,21 @@
language: node_js
node_js:
- 'node'
- lts/*
sudo: true
env:
global:
- secure: AJsEWFnWC5W8hcF3hJzm3PT7heazJpKg85xiSvIWVzLHZU/s0h4+WfJ6t0F9v3L4awaowm62vy8CRaxRkB4lJyJg+JK2K0QN7lNFGj2f8Jx2cFlVJ1IyY959GY4iUg66JrNj1yzS02+yQfweDngyifqzb7IlxnowiveDjUO2gyo=
- secure: hvihwLUqlPchrGFXKWFF7iKRugISU7r/gLBo6O63nPeg0OwnYqYcC2BnBWoSiOdu9oR5bM4a5u0os04XL+bP3dqt324g0uBTqvyyxD6NhBsphVFkUmdUH3HMe7IQY6JTns96KT/6UkQapKhIuW4CUDeidR+5NFKvyRdKIjSawS4=

# For Electron testing on Linux
# https://github.com/electron/electron/blob/master/docs/tutorial/testing-on-headless-ci.md
addons:
sauce_connect: true
hosts:
- airtap.local
# For Electron testing on Linux
# https://github.com/electron/electron/blob/master/docs/tutorial/testing-on-headless-ci.md
apt:
packages:
- xvfb
before_script:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
cache:
directories:
- node_modules

This file was deleted.

@@ -6,11 +6,9 @@ var runSauceLabs = !process.env.CI ||
(process.env.SAUCE_USERNAME && process.env.SAUCE_ACCESS_KEY)

npmRun('test-node', function () {
npmRun('test-browser-headless', function () {
if (runSauceLabs) {
npmRun('test-browser')
}
})
if (runSauceLabs) {
npmRun('test-browser')
}
})

function npmRun (scriptName, onSuccess) {
@@ -70,6 +70,7 @@
"zero-fill": "^2.2.3"
},
"devDependencies": {
"airtap": "0.0.1",
"babili": "^0.1.4",
"bittorrent-tracker": "^9.4.0",
"brfs": "^1.4.3",
@@ -82,8 +83,7 @@
"serve-static": "^1.11.1",
"standard": "*",
"tape": "^4.6.0",
"webtorrent-fixtures": "^1.5.0",
"zuul": "^3.10.1"
"webtorrent-fixtures": "^1.5.0"
},
"engines": {
"node": ">=4"
@@ -116,9 +116,8 @@
"build-debug": "browserify -s WebTorrent -e ./ > webtorrent.debug.js",
"size": "npm run build && cat webtorrent.min.js | gzip | wc -c",
"test": "standard && node ./bin/test.js",
"test-browser": "zuul -- test/*.js test/browser/*.js",
"test-browser-headless": "zuul --electron -- test/*.js test/browser/*.js",
"test-browser-local": "zuul --local -- test/*.js test/browser/*.js",
"test-browser": "airtap -- test/*.js test/browser/*.js",
"test-browser-local": "airtap --local -- test/*.js test/browser/*.js",
"test-node": "tape test/*.js test/node/*.js",
"update-authors": "./bin/update-authors.sh"
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.