-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (21 loc) · 733 Bytes
/
.travis.yml
File metadata and controls
28 lines (21 loc) · 733 Bytes
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
language: c
sudo: required
dist: trusty
env:
- CFG=--enable-debug
- CFG=--disable-debug
os:
- linux
- osx
compiler:
- clang
- gcc
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libnova-dev libcurl4-openssl-dev libjson-c-dev libdb-dev; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install curl json-c berkeley-db; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone git://git.code.sf.net/p/libnova/libnova libnova && pushd libnova && autoreconf -if && ./configure && make && sudo make install; popd; fi
install:
- autoreconf -i
script:
- ./configure $CFG && make && make -i test