aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: ead5d298b5427dc32b35315064cfaae6555c033c (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
34
35
36
language: C++
matrix:
  include:
    - os: linux
      arch:
        - amd64
        - arm64
      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 install gsl ; 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