-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (34 loc) · 1.05 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
language: python
python:
- "3.6"
# Note that travis doesn't support python on osx yet?!
os:
- linux
# Travis supports bionic, but let's still with the older OS
# for now for compatbility
dist: xenial
sudo: required
# Set up the environment variables for the snap installation of
# o2scl
env:
- LD_LIBRARY_PATH="/snap/o2scl/current/usr/lib/x86_64-linux-gnu:/snap/o2scl/current/lib/x86_64-linux-gnu" PATH="/usr/local/bin:/usr/bin:/bin:/snap/o2scl/current/bin"
# 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:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
env && acol --version && pip install . && o2graph -o2scl-libdir /snap/o2scl/current/lib/ -help ;
fi
# For some reason travis requires a script for python installations
# so we put a blank one in here
script:
- echo Done.
notifications:
email:
on_success: never
on_failure: never