-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.travis.yml
73 lines (64 loc) · 1.51 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
73
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "nightly"
sudo: required
dist: xenial
matrix:
allow_failures:
- python: "3.5"
- python: "3.6"
- python: "nightly"
env:
global:
- C_INCLUDE_PATH=/usr/lib/openmpi/include
- WITH_CUDA: true
- DEPLOY_DOCS_FOR_PYTHON: '3.8'
- TRIGGER_DOCKER_FOR_PYTHON: '3.8'
- SIMEX_VERBOSE=MPI:PYTHON
addons:
apt:
packages:
- openmpi-bin
- libopenmpi-dev
- wget
- libhdf5-dev
- build-essential
- libbz2-dev
- libfftw3-dev
- liblapack-dev
- cmake
- gfortran
- unzip
- cython3
- sphinx-common
- python3-sphinx
- libgsl0-dev
- llvm
- nvidia-cuda-dev
- nvidia-profiler
- nvidia-cuda-toolkit
cache:
apt: false
directories:
- $HOME/.cache/pip
- $HOME/lib
# install git lfs
# see https://github.com/travis-ci/travis-ci/issues/3634
before_install:
- mkdir -p $HOME/bin
- export Python_ROOT_DIR=$(dirname $(dirname $(which python)))
before_script:
- python --version
- python -c "import numpy as np; print( np.__version__ )"
- python -c "import h5py as h5; print( h5.__version__ )"
- ulimit -c unlimited
- mpirun --version
script:
#- wget ftp://ftp.wwpdb.org/pub/pdb/data/structures/divided/pdb/ni/pdb2nip.ent.gz
- bash $TRAVIS_BUILD_DIR/TravisCI/build_and_test_simex.sh && bash $TRAVIS_BUILD_DIR/TravisCI/deploy_docs.sh
after_success:
- bash $TRAVIS_BUILD_DIR/TravisCI/trigger_docker.sh