2021-08-26 18:05:51 +08:00
|
|
|
# $File: .travis.yml,v 1.8 2016/06/28 06:34:34 kim Exp $
|
2016-04-27 00:24:43 +08:00
|
|
|
|
2014-03-08 01:20:37 +08:00
|
|
|
language: c
|
2016-04-27 00:24:43 +08:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2014-03-08 01:20:37 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2016-04-27 00:24:43 +08:00
|
|
|
|
2014-03-08 01:20:37 +08:00
|
|
|
before_install:
|
2016-04-27 00:24:43 +08:00
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; fi
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install -qq automake libtool make python zlib1g-dev; fi
|
|
|
|
|
2014-03-08 01:20:37 +08:00
|
|
|
script:
|
|
|
|
- autoreconf -f -i
|
|
|
|
- ./configure --disable-silent-rules
|
|
|
|
- make -j4
|
|
|
|
- make -C tests check
|
2016-06-28 14:34:34 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- file-tests@mx.gw.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|