forked from toastpp/toastpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (57 loc) · 1.45 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
language: cpp
sudo: false
matrix:
include:
- os: linux
addons:
apt:
packages:
- gfortran
env:
- CONFIGOPTS=
- os: linux
addons:
apt:
packages:
- gfortran
env: CONFIGOPTS=--enable-threads --enable-fdot
- os: osx
osx_image: xcode7.3
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export TOASTDIR=$PWD;
echo $CONFIGOPTS;
./configure $CONFIGOPTS;
source toastenv.sh;
make numerics;
make toast;
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;
$success;
fi;