-
Notifications
You must be signed in to change notification settings - Fork 127
/
.travis.yml
46 lines (46 loc) · 1.1 KB
/
.travis.yml
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
37
38
39
40
41
42
43
44
45
46
language: C++
matrix:
include:
- os: linux
arch:
- amd64
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
- os: linux
arch:
- arm64
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libgsl-dev
- libopenblas-dev
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