forked from jsdom/jsdom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (44 loc) · 1.18 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
language: node_js
node_js: stable
sudo: false
git:
submodules: false
script:
- npm run lint
- npm 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
matrix:
include:
- env: TEST_SUITE=node-canvas
script: "export CXX=g++-4.8 && npm i canvas && npm 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" ] || (npm run pretest && npm run test-browser)'
env: TEST_SUITE=browser
addons:
sauce_connect:
username: "jsdom"
access_key: "7d402b1d-0388-467c-8d99-edf195456eee"