-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 1.07 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
os:
- linux
language: node_js
node_js:
- "8"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:maarten-fonville/protobuf'
notifications:
email: false
env:
global:
- MKL_DNN_VER: "0.16"
- MENOH_VER: "1.1.1"
before_install:
- |
sudo apt update
curl -LO https://github.com/pfnet-research/menoh/releases/download/v${MENOH_VER}/ubuntu1404_mkl-dnn_${MKL_DNN_VER}-1_amd64.deb
curl -LO https://github.com/pfnet-research/menoh/releases/download/v${MENOH_VER}/ubuntu1404_menoh_${MENOH_VER}-1_amd64.deb
curl -LO https://github.com/pfnet-research/menoh/releases/download/v${MENOH_VER}/ubuntu1404_menoh-dev_${MENOH_VER}-1_amd64.deb
sudo dpkg -i --force-depends *.deb
sudo apt install -f
sudo apt install libgif-dev
- export CPATH=/usr/include:$CPATH
- export LIBRARY_PATH=/usr/lib:$LIBRARY_PATH
- export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
install:
- npm install
script:
- ./script/download.sh
- npm run cover
after_success:
- cat ./coverage/lcov.info |./node_modules/coveralls/bin/coveralls.js