-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
58 lines (49 loc) · 1.19 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
language: python
python: 3.7
matrix:
include:
- name: "Python on linux"
os: linux
addons:
apt:
packages:
- gfortran
- cmake
- liblapack-dev
- libblas-dev
- libomp-dev
- libopenmpi-dev
- git
- name: "Python on macOS (with libomp)"
os: osx
osx_image: xcode11
language: shell
addons:
homebrew:
packages:
- cmake
- gcc
- python
- libomp
- name: "Python on macOS (without libomp)"
os: osx
osx_image: xcode11
language: shell
addons:
homebrew:
packages:
- cmake
- gcc
- python
before_install:
- |
DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
git clone https://github.com/JohannesBuchner/MultiNest.git
cd ${DEPS_DIR}/MultiNest/build && cmake .. && make && cd ${TRAVIS_BUILD_DIR}
export LD_LIBRARY_PATH=${DEPS_DIR}/MultiNest/lib:${LD_LIBRARY_PATH}
install:
- pip3 install cython scipy numpy matplotlib future pytest
- pip3 install -e .
script:
- pytest ./tests/