forked from mdtraj/mdtraj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (46 loc) · 1.42 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
language: c
sudo: false
addons:
apt:
packages:
# SPARTA+ requires csh
- csh
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install md5sha1sum; fi
- source devtools/travis-ci/install_miniconda.sh
- source devtools/travis-ci/install_sparta.sh
- source devtools/travis-ci/install_ppm.sh
- conda config --add channels omnia
- conda config --add channels conda-forge # hightest priority
script:
conda build --quiet devtools/conda-recipe
&& devtools/travis-ci/build_docs.sh
os:
- osx
- linux
env:
- CONDA_PY=2.7 CONDA_NPY=1.7
- CONDA_PY=2.7
- CONDA_PY=3.5 CONDA_NPY=1.11
- CONDA_PY=3.6
# Do include/exclude to add "DOCDEPLOY" to one matrix entry.
matrix:
exclude:
- os: linux
env: CONDA_PY=3.6
include:
- os: linux
env: CONDA_PY=3.6 DOCDEPLOY=YES
deploy:
- provider: s3
access_key_id:
secure: "W6YkOUOWIGXFP3YDkoGXh2M3bIS1/KYEy+EjPPOpeeX6MiTWkJz56ClV8kB+j+s1qPd+So3LUDXT4WW1qH2fftMlDSCnlwWPjtz45lSyOP7vOFeuLMm7hRWyDAPaQYumEN1rY7TlcB3YjC4AQKlPmILyKH7mGBWAgbumMs9pHtI="
secret_access_key:
secure: "ks3zwG//xUNMfAyFQSxJ/iD+fkO/VkMayGP/wZLpePJOWH3nZQkPeNhpk9xoq2jMUI8wNCY3jrQi0sj2NETReBq0WjVpx6H1UwnT3hu4NvwyW7256+RSRTWMzGBoLiClCKQ2Uu7guJKSvoRZim0p+LNSZqSf+c+P6FVs5QjlouA="
bucket: "mdtraj.org"
region: us-west-1
skip_cleanup: true
local_dir: docs/_deploy/
on:
branch: master
condition: "-n $DOCDEPLOY"