blob: b741f3b6140021f1e44cb12aeb5e39877da0d944 [file] [log] [blame]
dist: trusty
sudo: required
language: cpp
matrix:
fast_finish: true
# Note: the indices of the build below is used to generate detailed build
# status in the README.md file. If you find yourself changing the indices,
# make sure you change the build status lines in README.md accordingly too.
include:
# 1
- os: linux
compiler: gcc
env: COMPILER=g++
# 2
- os: osx
compiler: clang
env: COMPILER=clang++
# 3
- os: linux
compiler: gcc
env: BUILD_TARGET=android
# 4
- os: osx
compiler: clang
env: BUILD_TARGET=android
# 5
- os: osx
compiler: clang
env: BUILD_TARGET=ios
# 6
- os: linux
compiler: gcc
env: COMPILER=g++
env: BLAS=MKL
# 7
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env: COMPILER=g++-4.8
# 8
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
# 9
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env: COMPILER=g++-5
allow_failures:
- env: COMPILER=g++-5
- env: COMPILER=g++-4.9
- env: COMPILER=g++-4.8
- env: BUILD_TARGET=android
- env: BUILD_TARGET=ios
- env: BLAS=MKL
cache:
apt: true
install:
- ./.travis/install.sh
script:
- ./.travis/build.sh