From 250f1629d2c31c8df37aa53040f684b7e2fb4f51 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 13 May 2017 15:20:17 +0900 Subject: [PATCH] add travis.yml --- .travis.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..27eed29 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,37 @@ +dist: trusty +language: cpp + +matrix: + include: + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - build-essential + - g++-5 + env: COMPILER=g++-5 + - compiler: clang + addons: + apt: + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-precise-3.7 + packages: + - build-essential + - clang-3.7 + env: COMPILER=clang++-3.7 + +install: +- sudo apt-get -qq update; +- sudo apt-get -qq install libboost-all-dev; + +script: +- mkdir build +- cd build +- git clone https://github.com/toml-lang/toml.git +- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. +- make +- make test +