Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #225 from bsipocz/setuptools_limiting_version
Browse files Browse the repository at this point in the history
Limiting versions of setuptools and sphinx due to warnings that need 'fixin
  • Loading branch information
eteq committed Apr 15, 2016
2 parents ed3ddda + 8324648 commit 19c6096
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,33 @@ env:
- PYTHON_VERSION=3.4
- PYTHON_VERSION=3.5
global:
- SETUPTOOLS_VERSION=stable
- CONDA_DEPENDENCIES="pytest sphinx cython numpy"
- SETUPTOOLS_VERSION='<20'
- SPHINX_VERSION='<1.4'
- CONDA_DEPENDENCIES="setuptools pytest sphinx cython numpy"
- PIP_DEPENDENCIES="coveralls pytest-cov"

matrix:
include:
- os: linux
env: PYTHON_VERSION=2.7 SETUPTOOLS_VERSION=dev
CONDA_DEPENDENCIES="pytest sphinx cython numpy mercurial mock"
env: PYTHON_VERSION=2.7 SPHINX_VERSION=1.4
- os: linux
env: PYTHON_VERSION=2.7 SETUPTOOLS_VERSION=20
- os: linux
env: PYTHON_VERSION=2.7 SETUPTOOLS_VERSION=dev DEBUG=True
CONDA_DEPENDENCIES='pytest sphinx cython numpy'

allow_failures:
# Remove this once https://github.com/astropy/astropy-helpers/issues/224
# is solved and remove the version limitation
- os: linux
env: PYTHON_VERSION=2.7 SPHINX_VERSION=1.4
# Remove these once https://github.com/astropy/astropy-helpers/issues/222
# is solved, and set back the default version to 'stable'
- os: linux
env: PYTHON_VERSION=2.7 SETUPTOOLS_VERSION=20
- os: linux
env: PYTHON_VERSION=2.7 SETUPTOOLS_VERSION=dev DEBUG=True
CONDA_DEPENDENCIES='pytest sphinx cython numpy'

before_install:

Expand All @@ -39,7 +57,7 @@ install:
# pip tries to remove the previous version of setuptools before the
# installation is complete, which causes issues. Instead, we just install
# setuptools manually.
- if [[ $SETUPTOOLS_VERSION == dev ]]; then hg clone https://bitbucket.org/pypa/setuptools; cd setuptools; python setup.py install; cd ..; fi
- if [[ $SETUPTOOLS_VERSION == dev ]]; then git clone http://github.com/pypa/setuptools.git; cd setuptools; python setup.py install; cd ..; fi

before_script:
# Some of the tests use git commands that require a user to be configured
Expand Down

0 comments on commit 19c6096

Please sign in to comment.