toml11/.travis.yml
2017-05-17 09:23:52 +09:00

47 lines
933 B
YAML

dist: trusty
matrix:
include:
- os: linux
language: cpp
compiler: gcc
env: COMPILER="g++-5"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- build-essential
- cmake
- libboost-dev
- os: linux
language: cpp
compiler: clang
env: COMPILER="clang++-3.7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
- build-essential
- cmake
- libboost-dev
- os: osx
language: cpp
compiler: clang
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cmake boost; fi
script:
- mkdir build
- cd build
- git clone https://github.com/toml-lang/toml.git
- cmake -DCMAKE_CXX_COMPILER=$COMPILER ..
- make
- make test