From 02d8742af04c7e7305b6223c9c3181b1149d5d19 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Fri, 31 Jul 2015 11:13:33 -0400
Subject: [PATCH] add initial Travis CI configuration

---
 .travis.yml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..80fac501
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+language: cpp
+
+compiler:
+  - gcc
+  - clang
+
+before_install:
+  - echo $LANG
+  - echo $LC_ALL
+  - if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y g++ libgnutls-dev; fi
+  - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm36 && brew install gnutls && brew link --force llvm36; fi
+
+before_script:
+  - travis_retry bundle
+  - if [ $TRAVIS_OS_NAME == linux ]; then travis_retry ./autogen.sh && ./configure; fi
+  - if [ $TRAVIS_OS_NAME == osx ]; then travis_retry ./autogen.sh && ./configure; fi
+
+script: make -j
+
+notifications:
+  email:
+      - adrien.beraud@savoirfairelinux.com
+
+env:
+  - LANG="en_US.UTF-8"
+
+os:
+  - linux
+  - osx
-- 
GitLab