-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
67 lines (54 loc) · 1.8 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
language: cpp
os:
- linux
# For now, ignore OSX compilation since its too time consuming
# - osx
# 12/23/19: xenial is the default which should be fine
# dist: trusty
sudo: required
# Set up the environment variables for the snap installation of
# o2scl on linux. We need four library directories on both
# LD_LIBRARY_PATH and LDFLAGS
#
# /snap/o2scl/current/usr/lib/x86_64-linux-gnu
# /snap/o2scl/current/lib/x86_64-linux-gnu
# /snap/o2scl/current/lib
# /snap/o2scl/current/usr/lib/x86_64-linux-gnu/hdf5/serial
#
# For includes, we need the three directories
#
# /snap/o2scl/current/include
# /snap/o2scl/current/usr/include
# /snap/o2scl/current/usr/include/hdf5/serial
#
env:
- LD_LIBRARY_PATH="/snap/o2scl/current/usr/lib/x86_64-linux-gnu:/snap/o2scl/current/lib/x86_64-linux-gnu:/snap/o2scl/current/lib:/snap/o2scl/current/usr/lib/x86_64-linux-gnu/hdf5/serial" PATH="/usr/local/bin:/usr/bin:/bin:/snap/o2scl/current/bin" CXX="g++" LDFLAGS="-L/snap/o2scl/current/usr/lib/x86_64-linux-gnu -L/snap/o2scl/current/lib/x86_64-linux-gnu -L/snap/o2scl/current/lib -L/snap/o2scl/current/usr/lib/x86_64-linux-gnu/hdf5/serial" CXXFLAGS="-I/snap/o2scl/current/include -I/snap/o2scl/current/usr/include -I/snap/o2scl/current/usr/include/hdf5/serial"
# Install o2scl
addons:
snaps:
- name: o2scl
confinement: devmode
channel: latest/edge
# We use 'acol --version' to verify the o2scl installation and
# then install o2graph and verify that installation with o2graph -help
#
# Install bamr
#
install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
acol --version && make bamr_nompi ;
fi
#
# Test
#
script:
#
# Perform the installation on linux.
#
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
make test_all_nompi ;
fi
notifications:
email:
on_success: never
on_failure: never