forked from mapbox/node-pre-gyp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (35 loc) · 1.09 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
language: node_js
sudo: false
##### WARNING
# node-pre-gyp tests are not concurrency safe
# such that in the below travis builds we cannot
# have more than one run with the same node version
# otherwise they will clobber each other
#####
matrix:
include:
# Test node v6 with needle https (default)
- os: linux
node_js: 6
# Test node v8 with needle https (default)
- os: linux
node_js: 8
# Test node v10 with request override
- os: linux
node_js: 10
before_install:
- npm install request
# Test node webkit
- os: linux
node_js: 10
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: ['xvfb','libasound2','libx11-6','libglib2.0-0','libgtk2.0-0','libatk1.0-0','libgdk-pixbuf2.0-0','libcairo2','libfreetype6','libfontconfig1','libxcomposite1','libasound2','libxdamage1','libxext6','libxfixes3','libnss3','libnspr4','libgconf-2-4','libexpat1','libdbus-1-3','libudev1']
script:
# test node-webkit usage
- ./scripts/test-node-webkit.sh
install:
- npm install
script:
- npm test