Add travis CI configuration
Just builds with clang 3.8 and gcc 5.3 for x86.
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c58cbf6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,20 @@
+language: c
+
+sudo: required
+dist: trusty
+
+compiler:
+ - clang
+ - gcc
+
+install:
+ - sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
+ - sudo apt-add-repository -y ppa:h-rayflood/llvm
+ - sudo apt-get update && sudo apt-get install -yy gcc-5 clang-3.6
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50
+ - sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6 50
+ - gcc --version
+ - clang --version
+
+script:
+ - autoreconf -i && ./configure && make