Skip to content

Commit 2a9fbb6

Browse files
committed
Merge pull request #6 from HenrikJoreteg/add-zuul
Add zuul
2 parents b8fb1dd + 1abc8e6 commit 2a9fbb6

File tree

3 files changed

+41
-5
lines changed

3 files changed

+41
-5
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js:
3+
- "0.10"
4+
5+
before_install:
6+
- "export DISPLAY=:99.0"
7+
- "sh -e /etc/init.d/xvfb start"
8+
9+
script: "npm run-script test-ci"
10+
11+
env:
12+
global:
13+
- secure: nQ9ciBKFWAbg6W0RlikyhgLgQF8PMhPbNaIFGC7zwkJ+1iOslYYYbE2Ve959v5fvX6TdCMiQRjzsZoH5PC+IdSxRJWau23m/6r8yRPKhouLAkHAEgRMEMHzOdVkk/HxYxtnMdJ9MfY58wjBfxAX0WR4W7TydUkLL6DLfUYZauTs=
14+
- secure: OKuVsB6Y19yGsRLkaKOXG3yOJouSCkzuVYrjBHahhZ3pCVFHY3829zEkeI1jZ0QcHSqIYhqpAFhrjLSEafqVQOTSkEjetQOPKTf4mPFBlxwSAgmFJocUEPnKpKuyYTorhddrM5kDrHcq1zscgwAaToamabIN7Pt9ykjPtvUb9b8=
15+
16+
addons:
17+
sauce_connect: true

.zuul.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ui: tape
2+
browsers:
3+
- name: chrome
4+
version: latest
5+
- name: firefox
6+
version: latest
7+
- name: safari
8+
version: latest
9+
- name: ie
10+
version: 9..latest
11+
- name: iphone
12+
version: 6.1
13+
- name: android
14+
version: 4.4

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@
66
"bugs": {
77
"url": "https://github.com/henrikjoreteg/html-parse-stringify/issues"
88
},
9+
"dependencies": {
10+
"void-elements": "^1.0.0"
11+
},
912
"devDependencies": {
1013
"jshint": "^2.5.10",
14+
"phantomjs": "^1.9.13",
1115
"precommit-hook": "^1.0.7",
16+
"run-browser": "^2.0.1",
1217
"tap-spec": "^2.1.2",
13-
"tape": "^3.0.3"
18+
"tape": "^3.0.3",
19+
"zuul": "^1.16.5"
1420
},
1521
"homepage": "https://github.com/henrikjoreteg/html-parse-stringify",
1622
"keywords": [
@@ -26,9 +32,8 @@
2632
"url": "https://github.com/henrikjoreteg/html-parse-stringify"
2733
},
2834
"scripts": {
29-
"test": "node test/index.js | tap-spec"
30-
},
31-
"dependencies": {
32-
"void-elements": "^1.0.0"
35+
"start": "run-browser test/*",
36+
"test": "zuul --phantom -- test/index.js",
37+
"test-ci": "zuul -- test/index.js"
3338
}
3439
}

0 commit comments

Comments
 (0)