Skip to content

Commit

Permalink
Merge pull request #1 from orcasgit/requirements
Browse files Browse the repository at this point in the history
Organize requirement files
  • Loading branch information
grokcode committed Nov 23, 2015
2 parents 2730f9f + 5fef15c commit 24fd63a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ before_install:
- pip install codecov

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements-test.txt
install: pip install -r requirements/test.txt

# command to run tests using coverage, e.g. python setup.py test
script: coverage run --source templatefield runtests.py
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Development Lead
Contributors
------------

None yet. Why not be the first?
* Percy Perez <percyp3@gmail.com>
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ Running Tests


source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ pip install -r requirements/test.txt
(myenv) $ python runtests.py

File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions requirements-test.txt → requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
django>=1.8.0
-r base.txt

coverage
mock>=1.0.1
flake8>=2.1.0
tox>=1.7.0
mock>=1.0.1
py>=1.4.29
pytest>=2.8.2
pytest-django>=2.9.1

tox>=1.7.0
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/templatefield
commands = python runtests.py
deps =
-r{toxinidir}/requirements-test.txt
-r{toxinidir}/requirements/test.txt

0 comments on commit 24fd63a

Please sign in to comment.