-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
52 lines (45 loc) · 1.05 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
# use the latest ubuntu distro
dist: trusty
# require sudo
sudo: required
# this is a node project
language: node_js
node_js:
- '6'
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- cmake
# proxy reset for tests
env:
- http_proxy=''
- HTTP_PROXY=''
git:
submodules: false
before_install:
# init the plugins / submodules
# - git submodule update --init
# install alsa stuff
## - sudo apt-get install libasound2-dev
# Link gcc-6 and g++-6 to their standard commands
## - sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
## - sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
# Export CC and CXX to tell cmake which compiler to use
## - export CC=/usr/bin/gcc-6
## - export CXX=/usr/bin/g++-6
# Check versions of gcc, g++ and cmake
## - gcc -v && g++ -v && cmake --version
#prepare for node-gyp
## - sudo apt-get install build-essential node-gyp
# Run actual build commands next
## - npm install -g [email protected]
install:
- npm install
script:
- npm run build