Skip to content

Commit f23f25a

Browse files
committedNov 21, 2016
Enable travis-ci integration
Signed-off-by: Patrick McCarty <[email protected]>
1 parent 8654e61 commit f23f25a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
 

‎.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
sudo: required
2+
dist: trusty
3+
language: c
4+
5+
# Pre-install missing build dependencies:
6+
# - valgrind (from the repo)
7+
# - libcheck 0.9.10 is slightly too old, since 0.9.12 adds TAP support
8+
before_install:
9+
- sudo apt-get -qq update
10+
- sudo apt-get install -y valgrind
11+
12+
install:
13+
- wget http://downloads.sourceforge.net/project/check/check/0.10.0/check-0.10.0.tar.gz
14+
- tar -xvf check-0.10.0.tar.gz
15+
- pushd check-0.10.0 && ./configure --prefix=/usr && make -j48 && sudo make install && popd
16+
17+
# Ubuntu's default umask is 0002, but tests are written with the expectation of a 0022 default.
18+
script:
19+
- autoreconf --verbose --warnings=none --install --force && ./configure && make -j48 && sudo sh -c 'umask 0022 && make -j48 check'
20+
after_failure: cat test-suite.log

0 commit comments

Comments
 (0)
Please sign in to comment.