From ad312c15cccd84a0c15c17f55aa840bacbd679da Mon Sep 17 00:00:00 2001 From: lyuts Date: Sun, 13 Jul 2014 22:13:19 -0700 Subject: [PATCH] Added basic travis CI build configuration. --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b22f7c1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: cpp + +compiler: + - gcc + +install: + - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test + - sudo apt-get update -qq + - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi + +before_script: + - mkdir build + - cd build + - cmake .. + +script: make + +os: + - linux + - osx +