forked from msmbuilder/msmexplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (43 loc) · 950 Bytes
/
.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
language: c
sudo: false
env:
matrix:
- CONDA_PY=3.4
- CONDA_PY=3.5
- CONDA_PY=3.6
branches:
only:
- master
addons:
apt:
packages:
- xvfb
install:
- source devtools/travis-ci/install_miniconda.sh
- conda config --add channels omnia
- conda install -yq python-coveralls
before_script:
- |
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
fi
script:
- conda build --quiet devtools/conda-recipe
- if [ "$CONDA_PY" = "3.6" ]; then devtools/travis-ci/build_docs.sh; fi
after_success:
- cp $HOME/miniconda3/conda-bld/test-tmp_dir/.coverage .
- coveralls
deploy:
- provider: s3
bucket: msmbuilder.org
upload-dir: msmexplorer
skip_cleanup: true
local-dir: docs/_deploy/
on:
branch: master
condition: "$CONDA_PY = 3.6"
region: us-east-1
detect_encoding: true
access_key_id: $AWS_ACCESS_KEY
secret_access_key: $AWS_SECRET_KEY