Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] updates for Travis #995

Merged
merged 3 commits into from
May 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 13 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ matrix:
- os: linux
python: '3.6'
env: TOXENV=py36-notebook
- os: linux
python: '3.5'
env: TOXENV=py35-notebook50
# OSX tests, python 2 & 3
# Use generic language on osx, get python via terryfy during before_install
- os: osx
Expand All @@ -86,7 +83,6 @@ matrix:
- env: TOXENV=appveyorartifacts
- env: TOXENV=docs_linkcheck
- env: TOXENV=lint
- env: TOXENV=py35-notebook50
env:
global:
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
Expand All @@ -108,23 +104,24 @@ before_install:
- 'if [[ ${OSX_PYTHON} ]]; then if [[ $(which python3.3) ]]; then ls -l $(which python3.3); else echo "missing"; fi; fi'
- 'if [[ ${OSX_PYTHON} ]]; then if [[ $(which python3.4) ]]; then ls -l $(which python3.4); else echo "missing"; fi; fi'
- 'if [[ ${OSX_PYTHON} ]]; then if [[ $(which python3.5) ]]; then ls -l $(which python3.5); else echo "missing"; fi; fi'
# install conda for conda recipe env
- 'if [[ ${TOXENV} == "condarecipe" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi'
# stuff for conda recipe
# Note we're currently installing 4.3.11 specifically, since conda 4.3.14-16
# have a bug which stop them intalling anything on travis (see
# https://github.com/conda/conda/issues/5033
# for details).
# This has been fixed in mewer conda versions
# (>=4.3.17), but the current 'latest' installer is still 4.3.14, so we need to specify the
# previous version. This should change in future once an installer for
# >=4.3.17 is released!
- 'if [[ ${TOXENV} == "condarecipe" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-4.3.11-Linux-x86_64.sh -O miniconda.sh; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then bash miniconda.sh -b -p $HOME/miniconda; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then hash -r; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda config --set always_yes yes --set changeps1 no; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda info -a; fi # Useful for debugging any issues with conda'
# conda >4.3.13 seems to fail with TypeError thrown by sginal_handler on travis.
# for further details, see
# https://github.com/conda/conda/issues/5033
# conda's auto-update strategy also means that installing or updating anything else will cause
# conda to attempt to update itself, so we may need to re-specify conda version at each install/update step
# Thus instead of running
# conda update conda
# we install conda & conda-build together, specifying the versions that we
# wish to avoid
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda install "conda<4.3.14" "conda-build"; fi'
# update conda, this should skip over the problematic 4.3.14-4.3.16 anyway
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda update conda; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda install conda-build; fi'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda info -a; fi # Useful for debugging any issues with conda'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then conda config --append channels conda-forge; fi # add conda-forge channel at lower priority than defaults'
- 'if [[ ${TOXENV} == "condarecipe" ]]; then git fetch --unshallow; fi'
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ jupyter_latex_envs>=1.3.4
jupyter_nbextensions_configurator
readthedocs-sphinx-ext
recommonmark>=0.4.0
sphinx>=1.3.6
sphinx>=1.3.6,<1.6
sphinx_rtd_theme