Files
wget2/.travis.yml
Darshit Shah 2da0ad63dd Improved testing on Travis
* .travis.sh: Rewrite for clarity and speed. Testing shows that valgrind
and ASan don't play well together. So split their executions.
* .travis.yml: Enable ccache for builds. Also try to update libc6 if
possible
* .travis.yml: Do not run on OSX with CC=gcc. This is because on OSX,
gcc is only a wrapper around clang.
* .travis_setup.sh: Cosmetic changes only
* Makefile.am (check-coverage): Explcicitly disable valgrind tests when
checking coverage
* tests/libtest.c (wget_test): Use a provided suppressions file for
valgrind. This is required since the valgrind version on Travis seems to
be out of sync with libc. This causes valgrind to report a memory bug
falsely.
* tests/valgrind-suppressions: New file with some valgrind suppressions.
Included suppressions are for a valgrind/libc bug and to suppress
reachable memory messages from within gnutls
2016-10-07 17:51:48 +02:00

47 lines
638 B
YAML

sudo: required
dist: trusty
language: c
os:
- linux
- osx
compiler:
- gcc
- clang
git:
depth: 3
matrix:
exclude:
- os: osx
compiler: gcc
cache: ccache
addons:
apt:
packages:
- autoconf
- automake
- autopoint
- libtool
- gettext
- flex
- liblzma5
- liblzma-dev
- libidn2-0
- libidn2-0-dev
- libunistring0
- libc6
- valgrind
- lcov
before_install:
- echo $TRAVIS_OS_NAME
- ./.travis_setup.sh
script: ./.travis.sh