aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: e5731a624057f6a1e585b4b44a869784e9a9fce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: C++
matrix:
  include:
    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - libgsl-dev
            - libopenblas-dev
    - os: linux
      compiler: clang
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - libgsl-dev
            - libopenblas-dev
    - os: osx
      compiler: clang
script:
  - echo $MATRIX_EVAL
  - eval "${MATRIX_EVAL}"
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask uninstall oclint && brew update && brew install gsl openblas zlib eigen lapack ; fi
  - $CXX --version
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gsl ; fi
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then OPENBLAS="$(brew --prefix openblas)" ; fi
  - echo $OPENBLAS
  - make -j 4 CXX=$CXX WITH_OPENBLAS=1 OPENBLAS_LEGACY=1 
  - make OPENBLAS_LEGACY=1 fast-check