]> granicus.if.org Git - file/commitdiff
travis: add osx platform test
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 26 Apr 2016 16:24:43 +0000 (16:24 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 26 Apr 2016 16:24:43 +0000 (16:24 +0000)
.travis.yml

index 429362ff7a147260ffb06da7fd134267f123aa1d..528238508bfffa055fae85698ad5c76a6953f3a8 100644 (file)
@@ -1,11 +1,19 @@
 # $File$
+
 language: c
+
+os:
+ - linux
+ - osx
+
 compiler:
  - gcc
  - clang
+
 before_install:
- - sudo apt-get update -qq
- - sudo apt-get install -qq automake libtool make python zlib1g-dev
+ - 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
+
 script:
  - autoreconf -f -i
  - ./configure --disable-silent-rules