This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path.travis.yml
36 lines (30 loc) · 1.59 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
language: c
env:
global:
# encrypted AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to push docs to s3
- secure: "bVH6M//wxPNZSCe2DHDVxc9Umnz+7S+L5Sm+fGugQ9Nv/7lqPi/aCBRW+O7o9BgOye0s0IRr+ivyRJ5I8cYN5a2rpYsKIo/aItJ2sN/3Gw8K/6BZMjmMJFNaHUREtazpftkiv8WADZV/j5d1QcBHzx/RHyubtLerx22dgCvyc0s="
- secure: "OFwGj26dWBFaUcHpz8BRlPw0IFcbt6827kutfpgrb19ebldKv18TvE3BXJIoKDTUz9yGhv+j1hUi64vGUTRbv5y7bAE9bK9r9/y7mFVTWHu5IRyhmewr2DuqKkNyI2bI57FbRBGVt6Nrf68tzg8QCLu8GoIutGWeHH0D1li8bZ4="
matrix:
- python=2.7
- python=3.3
install:
- wget http://repo.continuum.io/miniconda/Miniconda-3.0.5-Linux-x86_64.sh
- bash Miniconda-3.0.5-Linux-x86_64.sh -b
- export PATH=$HOME/miniconda/bin:$PATH
- conda config --add channels http://conda.binstar.org/omnia
- conda create --yes -n ${python} python=${python} numpy scipy pytables numexpr nose pandas cython statsmodels pandas patsy pyyaml matplotlib pip mdtraj
- export PATH="$HOME/miniconda/envs/$python/bin/:$PATH"
- conda install --yes fastcluster
# RMG is not really sure what this line does, but it's critical for multiprocessing
# to work in python. see https://github.com/travis-ci/travis-cookbooks/issues/155 and
# https://github.com/SimTk/msmbuilder/issues/214
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
script:
- export PATH=$HOME/miniconda/bin:$PATH
- export PATH=$HOME/miniconda/envs/$python/bin:$PATH
- python setup.py -q install
- pydir=$(which python); $(dirname $pydir)/nosetests -vv
after_success:
- echo "after_success"
- pip install msmb_theme
- bash tools/ci/after_sucess.sh