forked from Axosoft/nodegit-lfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 754 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
sudo: true
dist: trusty
language: node_js
node_js:
- "6"
os:
- osx
- linux
addons:
addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- libxkbfile-dev
- libxss-dev
before_install:
- git clean -xdff
- npm i -g [email protected]
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
env:
- GOPATH=$TRAVIS_BUILD_DIR/test/server CC=clang CXX=clang++ npm_config_clang=1
before_install:
- cd .. && git clone -b fix/asyncify_methods https://github.com/cjhoward92/nodegit.git
- cd nodegit && npm i && yarn link && cd ../nodegit-lfs
- yarn link nodegit
install:
- yarn
script:
- yarn test