Skip to content

Commit 4e84eb2

Browse files
committed
Simplify install-on-travis.sh by adding requirements-travis.txt
1 parent 3521bbe commit 4e84eb2

4 files changed

+8
-5
lines changed

requirements-checks.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python packages required to run `make check'.
1+
# Python packages required to run code style checks.
22
flake8 >= 2.6.0
33
flake8-docstrings >= 0.2.8
44
pyflakes >= 1.2.3

requirements-tests.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Python packages required to run the test suite.
12
mock >= 1.0.1
23
pytest >= 2.6.1
34
pytest-cov >= 2.2.1

requirements-travis.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Python packages required on Travis CI.
2+
--requirement=requirements-checks.txt
3+
--requirement=requirements-tests.txt
4+
--requirement=requirements.txt
5+
coveralls

scripts/install-on-travis.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
# Install the required Python packages.
44
pip install pip-accel
5-
pip-accel install coveralls
6-
pip-accel install --requirement=requirements.txt
7-
pip-accel install --requirement=requirements-checks.txt
8-
pip-accel install --requirement=requirements-tests.txt
5+
pip-accel install --requirement=requirements-travis.txt
96

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

0 commit comments

Comments
 (0)