Skip to content

Commit

Permalink
travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aeantipov committed Dec 7, 2016
1 parent 22e4e7f commit a13eaa2
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Specify c language to get right CXX compiler (Travis bug https://github.com/travis-ci/travis-ci/issues/3871)
language: c

# Ubuntu 14.04 Trusty support
sudo: required
dist: trusty

compiler:
- clang
- gcc

before_install:
- sudo apt-get -qq update
- sudo apt-get install -y libeigen3-dev
- sudo apt-get install -y libboost-all-dev

script:
- mkdir build
- cd build
- cmake -DTesting=ON -DExamples=ON ..
- make
- make test

matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: CXX=g++-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: CXX=g++-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env: CXX=clang++-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env: CXX=clang++-3.7

0 comments on commit a13eaa2

Please sign in to comment.