diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-20 15:58:38 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-21 12:06:31 +0200 |
commit | cfe98aa547844f9fc376083a103eec926d533639 (patch) | |
tree | fb8741fb67a8984a8c22fa2ed797b837fb03d798 /.travis.yml | |
parent | 8a782a5c367f75bc8ffddfdfd1bdf07d29e8397a (diff) | |
download | gnutls-cfe98aa547844f9fc376083a103eec926d533639.tar.gz |
.travis.yml: added support for compiling in macosx
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..7b06e8977a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +os: + - osx + +language: c +compiler: + - clang + +notifications: + email: + on_success: change + on_failure: always + +before_install: + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then + brew install pkg-config autoconf automake autogen libtool nettle valgrind p11-kit libtasn1 unbound libidn gettext; + fi + +script: + - PATH=/usr/local/opt/gettext/bin:$PATH make autoreconf && rm -f tests/suite/mini-eagain2.c + - PATH=/usr/local/opt/gettext/bin:$PATH ./configure --disable-valgrind-tests --disable-doc --disable-guile --without-p11-kit --disable-dependency-tracking + - make -j4 + - make -j4 check |