-
Notifications
You must be signed in to change notification settings - Fork 25
/
.travis.yml
33 lines (31 loc) · 1.91 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
language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "3.5"
before_install:
- hg clone https://bitbucket.org/birkenfeld/sphinx-contrib/
- chmod +x push.sh
install:
- sudo apt-get update
- sudo apt-get install pandoc
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-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
- conda config --add channels conda-forge
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Install packages
- conda create -q -n autogis-environment python=$TRAVIS_PYTHON_VERSION sphinx==1.7.9 sphinx_rtd_theme nbsphinx IPython==6.5.0 jupyter_client ipykernel matplotlib geopandas geopy rasterio rasterstats osmnx bokeh imageio folium
- source activate autogis-environment
- pip install git+https://github.com/HTenkanen/sphinxcontrib-versioning.git
- pip install git+https://github.com/mullenkamp/PyCRS.git
- cd sphinx-contrib/googleanalytics; python setup.py install; cd ../..
script: sphinx-versioning build source build/html
after_success:
- ./push.sh
env:
global:
- secure: "crk7eBYfnLKV7YvuNtpgheOHYMeYomHqpdnSFyqVfwN+TwqLodO5XKbb5AnQSCc9HtGphW9SRKaexA4lEqBTGFLccTYz/SbJks3qCoN4wdiy6DdRQ/9kDy8ww0ptjqM5Vc7ks8VDY0qJvTgUdjyHE6lfPtKHMLlhJVa/SmNVQue9x3BjZw6NA/P2vkS5d2EHG/MwoHejeMWDUNT8pa/IMEjDxdWePzOVhPCwf/N80eQjpayFOCz/FCnvc8in7/A/r3U3kzkR0honpu1ar6V4SYH2USlhsadHD4JsMrxGil/sAtHvXRoA1WWboP+CxVCNBy+TI4FVTqW84Q+Kpo727+swBuGJr60SrlargBNaU3JwmHl9B+AtpjQ4aHFYsow5fDAaC9lMVytmk34COy8E95v9JFCvRRsZ3pA17UaJB2XS0HiCWi36SDGVO0bt8FrulS1sLxZfp0pXzn07tnf0q2LaxXbQ+7eVbfkqNqF3qTi4OJpxK4RNmSZSUD4RiQtDgL628I54l6vc/opGscBe50F+XRnydF8Be0aUmOWNoJrBZYjiHW2VsS1YKixj7JfF2flRMc4trLk3JE/7K6qqsNPDIUGr9VBLlpKbIi2HRko7Yo0TrWD4vRNPuxhH3Ij11k5zSuDdXcUgKsGcR8E0G5RvAn8HoIPYUEuFX1htBwM="