forked from PaNOSC-ViNYL/SimEx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (64 loc) · 1.6 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
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "nightly"
sudo: required
dist: trusty
matrix:
allow_failures:
# not yet Python 3 compatible
- python: "3.4"
- python: "3.5"
# Python 3.6 "nightly" (upcoming)
- python: "nightly"
env:
global:
- C_INCLUDE_PATH=/usr/lib/openmpi/include
- DEPLOY_DOCS_FOR_PYTHON: '2.7'
- TRIGGER_DOCKER_FOR_PYTHON: '2.7'
addons:
apt:
packages:
- openmpi-bin
- libopenmpi-dev
- wget
- libhdf5-dev # non-MPI but with HL & CPP bindings
- build-essential
- libbz2-dev
- libfftw3-dev
- liblapack-dev
- cmake
- gfortran
- unzip
- cython
- sphinx-common
- python-sphinx
- python-qt4
- libgsl0-dev
cache:
apt: true
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
- wget https://github.com/github/git-lfs/releases/download/v1.1.2/git-lfs-linux-amd64-1.1.2.tar.gz
- tar xvfz git-lfs-linux-amd64-1.1.2.tar.gz
- mv git-lfs-1.1.2/git-lfs $HOME/bin/git-lfs
- export PATH=$PATH:$HOME/bin/
- bash $TRAVIS_BUILD_DIR/TravisCI/pyqt.sh
before_script:
# print interesting versions
- 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:
- 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