forked from graingert/jsdom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
87 lines (82 loc) · 2.24 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
language: node_js
node_js:
- 6
- stable
sudo: false
git:
submodules: false
script:
- yarn lint
- yarn test
branches:
only:
- master
addons:
hosts:
- web-platform.test
- www.web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
- xn--lve-6lad.web-platform.test
matrix:
include:
- node_js: 6
env: TEST_SUITE=node-canvas-prebuilt
script: "export CXX=g++-4.8 && yarn add canvas-prebuilt && yarn test"
addons:
hosts:
- web-platform.test
- www.web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
- xn--lve-6lad.web-platform.test
- node_js: 6
env: TEST_SUITE=node-canvas
script: "export CXX=g++-4.8 && yarn add canvas && yarn test"
addons:
hosts:
- web-platform.test
- www.web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
- xn--lve-6lad.web-platform.test
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- node_js: stable
env: TEST_SUITE=node-canvas
script: "export CXX=g++-4.8 && yarn add canvas && yarn test"
addons:
hosts:
- web-platform.test
- www.web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
- xn--lve-6lad.web-platform.test
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- script: '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || (yarn pretest && yarn test-browser)'
env: TEST_SUITE=browser
addons:
sauce_connect:
username: "jsdom"
access_key: "7d402b1d-0388-467c-8d99-edf195456eee"