Skip to content

Commit

Permalink
change install order
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jun 12, 2020
1 parent 3b5881d commit 524daa0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,16 @@ matrix:
# - python -c 'import setuptools; print(setuptools.__version__)'

install:
- pip install -U pip
- if [[ "${MAIN_CMD}" == pycodestyle ]]; then pip install pycodestyle; fi
- if [[ "${MAIN_CMD}" == sphinx-build* ]]; then pip install Sphinx; fi
- if [[ "${SETUP_CMD}" == '--cov' ]]; then pip install pytest-cov coveralls; fi
- if [[ "${MAIN_CMD}" == pytest ]]; then pip install -r requirements.txt; fi
- if [[ "${SETUP_CMD}" == '--cov' ]]; then pip install pytest-cov coveralls; fi
# - if [[ "${MAIN_CMD}" == python* || "${MAIN_CMD}" == coverage* ]]; then pip install -r requirements.txt; fi
- if [[ -n "${ASTROPY_VERSION}" ]]; then pip install -U "astropy${ASTROPY_VERSION}"; fi

script:
- $MAIN_CMD $SETUP_CMD

after_success:
- if [[ "${MAIN_CMD}" == coverage* ]]; then coveralls; fi
- if [[ "${SETUP_CMD}" == '--cov' ]]; then coveralls; fi

0 comments on commit 524daa0

Please sign in to comment.