forked from sustrik/dsock
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
49 lines (38 loc) · 879 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
language: c
sudo: false
os:
- linux
sudo: required
compiler:
- gcc
- clang
env:
matrix:
- CONF="shared"
- CONF="static"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:ondrej/php'
packages:
- gcc-4.9
- clang
- openssl
- libssl-dev
branches:
only:
- master
install:
- wget http://libdill.org/libdill-1.0.tar.gz
- tar -xzf libdill-1.0.tar.gz
- pushd libdill-1.0 && ./configure --prefix=/usr && make && sudo make install && popd
- if [[ $CONF == "shared" ]]; then ./autogen.sh && ./configure --enable-tls && make; fi
- if [[ $CONF == "static" ]]; then ./autogen.sh && ./configure --enable-tls --disable-shared && make; fi
script:
- make check
after_failure:
- for f in tests/*.log; do echo; echo "${f}:"; cat $f; done;
- cat test-suite.log
notifications:
email: false