forked from msmbuilder/msmbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (33 loc) · 1.07 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
language: c
sudo: false
addons:
apt:
packages:
- pandoc
branches:
only:
- master
install:
- source devtools/travis-ci/install_miniconda.sh
- conda config --add channels omnia
script:
# Run tests. If they succeed, build docs only on 3.5
conda build --quiet devtools/conda-recipe
&& if [[ $CONDA_PY = 3.5 ]]; then devtools/travis-ci/build_docs.sh; fi
env:
matrix:
- CONDA_PY=2.7 CONDA_NPY=1.11
- CONDA_PY=3.4 CONDA_NPY=1.10
- CONDA_PY=3.5 CONDA_NPY=1.11
deploy:
- provider: s3
access_key_id:
secure: "C0rtKtVHzdmaofuGDFkZljzvnZCRB0irXIHsFcQ6Cocf8V7rmYvuIpKxzlfQkI6RMBQ4bmzUe2z2XsvKwweUJFHur9Wc9mI+b4dBPcTR+ewwVzYs0nML6vSU7SYseMhJndnlD6J/WpP6vyrJ4YQIcYvRvqN1Qn6Mn2Kk8EagySM="
secret_access_key:
secure: "V9R4Nid8E19iymAPqpc5RIPB9Nkvx5N2iB66lQrHGyn2nZjoo6Cp+mbon/Ow/Ot9BWWa7NA1ihJUvs+in3WKIDPfiPiN6qgCE6j35VZJaDqeU5SW/6mbd6CqZEEFy3mA0EDeIIFFvWLnuLyStOJPFKPI/vkrkLxzNhcENSDIc4Q="
bucket: "msmbuilder.org"
skip_cleanup: true
local_dir: docs/_deploy/
on:
branch: master
condition: "$CONDA_PY = 3.5"