summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-20 15:58:38 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-10-21 12:06:31 +0200
commitcfe98aa547844f9fc376083a103eec926d533639 (patch)
treefb8741fb67a8984a8c22fa2ed797b837fb03d798 /.travis.yml
parent8a782a5c367f75bc8ffddfdfd1bdf07d29e8397a (diff)
downloadgnutls-cfe98aa547844f9fc376083a103eec926d533639.tar.gz
.travis.yml: added support for compiling in macosx
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
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