Skip to content

Commit

Permalink
Simplify install-on-travis.sh by adding requirements-travis.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed May 18, 2018
1 parent 3521bbe commit 4e84eb2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements-checks.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python packages required to run `make check'.
# Python packages required to run code style checks.
flake8 >= 2.6.0
flake8-docstrings >= 0.2.8
pyflakes >= 1.2.3
1 change: 1 addition & 0 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Python packages required to run the test suite.
mock >= 1.0.1
pytest >= 2.6.1
pytest-cov >= 2.2.1
5 changes: 5 additions & 0 deletions requirements-travis.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Python packages required on Travis CI.
--requirement=requirements-checks.txt
--requirement=requirements-tests.txt
--requirement=requirements.txt
coveralls
5 changes: 1 addition & 4 deletions scripts/install-on-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

# Install the required Python packages.
pip install pip-accel
pip-accel install coveralls
pip-accel install --requirement=requirements.txt
pip-accel install --requirement=requirements-checks.txt
pip-accel install --requirement=requirements-tests.txt
pip-accel install --requirement=requirements-travis.txt

# Install the project itself, making sure that potential character encoding
# and/or decoding errors in the setup script are caught as soon as possible.
Expand Down

0 comments on commit 4e84eb2

Please sign in to comment.