Skip to content

Commit d24f30c

Browse files
committed
chore: Make QUnit tests pass on TravisCI.
1 parent 194668d commit d24f30c

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
if: tag IS blank
22
git:
33
depth: 1
4-
sudo: false
4+
sudo: required
55
language: node_js
6+
67
node_js:
78
- "8"
89
- "9"
10+
911
env:
1012
- CXX=g++-4.8
1113

14+
addons:
15+
chrome: stable
16+
1217
before_install:
1318
- npm install -g [email protected] yarn
1419
- ./scripts/checkout-opticss.sh ../opticss

packages/@css-blocks/playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@css-blocks/playground",
33
"version": "0.0.0",
4-
"description": "A brand new Glimmer app.",
4+
"description": "The CSS Blocks in-browser playground.",
55
"directories": {
66
"doc": "doc",
77
"test": "tests"

packages/@css-blocks/playground/src/ui/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<title>CSS Blocks</title>
7-
<meta name="description" content="">
7+
<meta name="description" content="The CSS Blocks in-browser playground.">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

1010
{{content-for "head"}}

packages/@css-blocks/playground/testem.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,15 @@
33
"src_files": ["src/**/*"],
44
"serve_files": ["index.js"],
55
"disable_watching": true,
6-
"launch_in_ci": ["Firefox", "Chrome"]
7-
}
6+
"launch_in_ci": ["Chrome"],
7+
"browser_args": {
8+
"Chrome": [
9+
"--headless",
10+
"--disable-gpu",
11+
"--remote-debugging-port=9222",
12+
"--remote-debugging-address=0.0.0.0",
13+
"--no-sandbox",
14+
"--user-data-dir=/tmp"
15+
]
16+
}
17+
}

0 commit comments

Comments
 (0)