Skip to content

Commit

Permalink
Add a ci-requirements.txt for dependencies needed during CI.
Browse files Browse the repository at this point in the history
We recently removed `mysqlclient` as a dependency in
`dev-requirements.txt`, in order to simplify getting a development tree
going. We only needed that dependency for some unit tests.

This change introduces a `ci-requirements.txt` file, which will be used
for any dependencies needed in a CI setup. It currently lists only the
`mysqlclient` dependency we removed. The Travis CI configuration has
been updated to use it.

Testing Done:
Tested that `pip install`ing from the file worked.

Reviewed at https://reviews.reviewboard.org/r/10845/
  • Loading branch information
chipx86 committed Jan 21, 2020
1 parent 22e91db commit 2dba27e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ install:
fi
- python setup.py develop
- pip install -r dev-requirements.txt
- pip install -r ci-requirements.txt

script:
# Set up the origin/master branch, for doc building.
Expand Down
1 change: 1 addition & 0 deletions ci-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mysqlclient

0 comments on commit 2dba27e

Please sign in to comment.