-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (27 loc) · 855 Bytes
/
.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
language: cpp
install:
# update, clean
- sudo apt-get update
- sudo apt-get autoclean
- sudo apt-get clean
# compilers
- sudo apt-get install g++ cmake gfortran
# math libraries
# - sudo apt-get install libatlas-base-dev libatlas-dev
- sudo apt-get install liblapack-dev libopenblas-dev libopenblas-base
# PEP8 and py.test
- sudo pip install pytest pep8
script:
- python ./setup --fc=gfortran --cmake-options='--no-warn-unused-cli -DMATH_LIB_SEARCH_ORDER="OPENBLAS;ATLAS;SYSTEM_NATIVE;MKL" -D BUILDNAME="travis_gfortran"' --explicit-libs="'-L/usr/lib -llapack'" || true
- cd build
- make VERBOSE=1
- make VERBOSE=0 Experimental
# show dependencies
- ldd bin/example
# run test (should end with 0)
- cd bin
- ls -lt
##- exec "./example"
# turn off email notifications
notifications:
email: false