forked from opencollab/arpack-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (28 loc) · 808 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
30
31
32
33
34
sudo: false
language: c
compiler:
- gcc
addons:
apt:
packages:
- gfortran
- libblas-dev
- liblapack-dev
- libopenmpi-dev
- openmpi-bin
env:
- BUILD=cmake
- BUILD=configure
before_script:
- if [ "$BUILD" == "cmake" ]; then mkdir build ; fi
- if [ "$BUILD" == "cmake" ]; then cd build ; fi
- if [ "$BUILD" == "cmake" ]; then cmake -D EXAMPLES=ON -D MPI=ON .. ; fi
script:
# CMAKE
- if [ "$BUILD" == "cmake" ]; then make all check ; fi
# CONFIGURE
- if [ "$BUILD" == "configure" ]; then ./bootstrap ; fi
- if [ "$BUILD" == "configure" ]; then ./configure --enable-mpi ; fi
- if [ "$BUILD" == "configure" ]; then make all ; fi
- if [ "$BUILD" == "configure" ]; then make check ; fi
- if [ "$BUILD" == "configure" ]; then make distcheck ; fi