Enable Travis CI for Linux and OSX builds (#160)
authorDreamer <dreamer.dead@gmail.com>
Mon, 1 Aug 2016 16:01:18 +0000 (20:01 +0400)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Mon, 1 Aug 2016 16:01:18 +0000 (17:01 +0100)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..3a27ac3
--- /dev/null
@@ -0,0 +1,16 @@
+os:
+  - linux
+  - osx
+
+# Ubuntu 14.04 Trusty support, to get newer cmake and compilers.
+sudo: required
+dist: trusty
+
+language: cpp
+
+script:
+  - mkdir out && cd out && cmake -DGFLAGS_BUILD_TESTING=True .. && make && ctest
+
+compiler:
+  - clang
+  - gcc