Skip to content

Commit

Permalink
When running unit tests, install the package itself first.
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Nov 21, 2020
1 parent 2c033ef commit 524d2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ 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 [[ "${MAIN_CMD}" == pytest ]]; then pip install -r requirements.txt; fi
- if [[ "${MAIN_CMD}" == pytest ]]; then pip install -r requirements.txt; pip install . ; 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
Expand Down

0 comments on commit 524d2dd

Please sign in to comment.