forked from jsdom/jsdom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
111 lines (106 loc) · 3.25 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
language: node_js
node_js:
- "8"
- "10"
sudo: false
git:
submodules: false
script:
- yarn lint
- yarn test --retries 1
branches:
only:
- master
addons:
hosts:
- xn--lve-6lad.not-web-platform.test
- xn--lve-6lad.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.not-web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- not-web-platform.test
- web-platform.test
- www2.not-web-platform.test
- www1.not-web-platform.test
- www.not-web-platform.test
- www.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
matrix:
include:
- node_js: 8
env: TEST_SUITE=node-canvas-prebuilt
script: "export CXX=g++-4.8 && yarn add canvas-prebuilt && yarn test --retries 1"
addons:
hosts:
- xn--lve-6lad.not-web-platform.test
- xn--lve-6lad.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.not-web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- not-web-platform.test
- web-platform.test
- www2.not-web-platform.test
- www1.not-web-platform.test
- www.not-web-platform.test
- www.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
- node_js: 8
env: TEST_SUITE=node-canvas
script: "export CXX=g++-4.8 && yarn add canvas && yarn test --retries 1"
addons:
hosts:
- xn--lve-6lad.not-web-platform.test
- xn--lve-6lad.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.not-web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- not-web-platform.test
- web-platform.test
- www2.not-web-platform.test
- www1.not-web-platform.test
- www.not-web-platform.test
- www.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.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: 10
env: TEST_SUITE=node-canvas
script: "export CXX=g++-4.8 && yarn add canvas && yarn test --retries 1"
addons:
hosts:
- xn--lve-6lad.not-web-platform.test
- xn--lve-6lad.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.not-web-platform.test
- www1.web-platform.test
- www2.web-platform.test
- not-web-platform.test
- web-platform.test
- www2.not-web-platform.test
- www1.not-web-platform.test
- www.not-web-platform.test
- www.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.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"