-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
52 lines (41 loc) · 871 Bytes
/
.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
language: node_js
os:
- linux
dist: trusty
branches:
only:
- gh-pages
- /.*/
node_js:
- "14.7"
- "12.18"
- "10.13" # -- NAPI Introduced
# - "8.1"
# - "7.1"
# - "6.1"
# - "5.1"
# - "4.1" -- NAN based
# - "0.10" -- Last native interface before NAN
cache:
npm: false
before_script:
- sudo -H apt-get install libffi-dev
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
- npm install bindings file-uri-to-path node-addon-api
- npm link ../ems
- sudo apt-get install python-dev python3-dev python3-pip
- sudo apt-get install -y build-essential
- sudo python2 -m pip install --upgrade pip
- sudo pip install cffi
- sudo python3 -m pip install cffi
script:
- make test
env:
- CXX=g++-4.8
sudo: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8