Skip to content

Commit

Permalink
fix #24: enable conda support on rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Sep 5, 2018
1 parent 3b680c4 commit 821c6aa
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,17 @@ python:
- "3.6"
sudo: false
install:
- pip install -r rtd.txt
# Python 3.x is default
- 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 update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Create now the env with our environment
- conda env create -f environment.yml
- source activate birdhouse-docs
script:
- make docs
# - make linkcheck
#after_success:
# - coveralls
8 changes: 8 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build:
image: latest

python:
version: 3.6

conda:
file: environment.yml
1 change: 0 additions & 1 deletion rtd.txt

This file was deleted.

0 comments on commit 821c6aa

Please sign in to comment.