Skip to content

Commit

Permalink
Fix Travis and add requirements-dev.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
wasifarbisoft committed Oct 5, 2020
1 parent 12ffc94 commit 577a2df
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ python:
- "2.7"
- "3.5"

virtualenv:
system_site_packages: true
install:
- make requirements

script:
- make quality
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ quality: ## run quality checkers on the codebase
pycodestyle scormxblock --max-line-length=120
pylint scormxblock

requirements: ## install development environment requirements
pip install -r requirements.txt --exists-action w
pip install -r requirements-dev.txt --exists-action w
9 changes: 9 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
XBlock>=1.2

edx-opaque-keys>=0.4
Django~=1.11; python_version == '2.7'
Django~=2.2; python_version > '2.7'
-e git://github.com/edx/xblock-utils.git#egg=xblock-utils

pylint
pycodestyle==2.4.0
8 changes: 1 addition & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
XBlock>=1.2

edx-opaque-keys>=0.4
Django~=1.11; python_version == '2.7'
Django~=2.2; python_version > '2.7'
-e git+https://github.com/edx/[email protected]#egg=xblock-utils
-e git://github.com/edx/xblock-utils.git#egg=xblock-utils
-e .

pylint
pycodestyle==2.4.0

0 comments on commit 577a2df

Please sign in to comment.