forked from conda/conda-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (32 loc) · 1.14 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
env:
matrix:
# Do not change this order
- DOCS="true"
- WEBSITE="true"
global:
secure: "C8iqfA7L8nqYAIl+q6cF++wzjkxfz4UZsupt+Sqmv9yy483zpLEKN8u5alVM9Ni42ziWYLCXmXnDhnIHHfANsTIQB0PlP7D4nf+Vj0XFTLPtcMIbJBxTKEySY8XQNHp9H/EfO7lqoChGBHUkVJ62CREqSvVjdqUOWOvyEbaQSds="
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh;
- bash ~/miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls yes
- conda config --add channels asmeurer
- conda update -q conda
- conda info -a
- if [[ "${DOCS}" = "true" ]]; then
conda install conda-build pycrypto;
conda create -q -n build-environment -c asmeurer conda-docs-deps;
cd docs;
fi
- if [[ "${WEBSITE}" = "true" ]]; then
conda create -q -n build-environment -c asmeurer sphinxjp.themes.basicstrap cloud_sptheme;
cd web;
fi
- source activate build-environment
script:
- make html-errors
- ../update-gh-pages.sh
notifications:
flowdock: ef3821a08a791106512ccfc04c92eccb
sudo: false