Revision 9393148908cbe73720d050964e2bcd5e79454436 authored by rok-cesnovar on 09 October 2019, 10:59:52 UTC, committed by rok-cesnovar on 09 October 2019, 10:59:52 UTC
This reverts commit b773328d701e295214671bf360665ddec9f612c0.
1 parent 7c7cb02
.travis.yml
language: cpp
sudo: false
before_script:
- eval "${MATRIX_EVAL}"
- echo ${CXX}
- ${CXX} --version
- echo "CXX=$CXX" > make/local
- echo "CXXFLAGS_OS+=$CXXFLAGS_OS" >> make/local
- if [[ ! -z "$DEPFLAGS_OS" ]]; then echo "DEPFLAGS_OS=$DEPFLAGS_OS" >> make/local; fi
- cat make/local
linux_clang: &linux_clang
os: linux
compiler: "clang-3.8"
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8' ]
packages: [ 'clang-3.8', 'libc++-dev' ]
linux_gcc: &linux_gcc
os: linux
compiler: "gcc-4.9"
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'g++-4.9' ]
before_install: make math-revert
matrix:
fast_finish: true
include:
- <<: *linux_clang
env:
# For Travis's Ubuntu 14.04, the libstdc++ is broken with clang
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/callbacks src/test/unit/io"
PARALLEL=2
- <<: *linux_clang
env:
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/lang/ast"
PARALLEL=2
- <<: *linux_clang
env:
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/lang/generator"
PARALLEL=2
- <<: *linux_clang
env:
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/lang/parser"
PARALLEL=2
- <<: *linux_clang
env:
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/lang/reject"
PARALLEL=2
- <<: *linux_clang
env:
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/mcmc src/test/unit/model src/test/unit/optimization"
PARALLEL=2
- <<: *linux_clang
env:
- MATRIX_EVAL="CXX=\"clang++-3.8 -std=c++1y\" && CXXFLAGS_OS=-stdlib=libc++"
TESTFOLDER="src/test/unit/services src/test/unit/variational src/test/unit/version_test.cpp"
PARALLEL=2
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/callbacks src/test/unit/io"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/lang/*.cpp"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/lang/ast"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/lang/generator"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/lang/parser"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/lang/reject"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/mcmc src/test/unit/model src/test/unit/optimization"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/services src/test/unit/version_test.cpp"
PARALLEL=1
- <<: *linux_gcc
env:
- MATRIX_EVAL="CXX=g++-4.9 && CXXFLAGS_OS=-pthread && DEPFLAGS_OS='-M -E'"
TESTFOLDER="src/test/unit/variational"
PARALLEL=1
script: ./runTests.py -j$PARALLEL $TESTFOLDER
sudo: false
dist: trusty
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...