forked from toastpp/toastpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
72 lines (69 loc) · 1.75 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: cpp
sudo: false
matrix:
include:
- os: linux
addons:
apt:
packages:
- gfortran
- csh
- python-numpy
env:
- CONFIGOPTS="--disable-threads"
- os: linux
addons:
apt:
packages:
- gfortran
- csh
- python-numpy
env: CONFIGOPTS="--enable-fdot"
- os: osx
osx_image: xcode7.3
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export TOASTDIR=$PWD;
echo $CONFIGOPTS;
./configure $CONFIGOPTS;
export LD_LIBRARY_PATH=$TOASTDIR/lib;
make numerics;
make toast;
make python;
make test;
fi;
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
success=true;
cd mac;
cd libsuperlu;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../liblbfgs;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../libmath;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../libfe;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../libstoast;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../libfdot;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../libbemdiff;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../libdgfe;
xcodebuild -configuration release;
if [[ $? -ne 0 ]]; then success=false; fi;
cd ../..;
export TOASTDIR=$PWD;
echo $CONFIGOPTS;
./configure $CONFIGOPTS;
make python;
if [[ $? -ne 0 ]]; then success=false; fi;
$success;
fi;