forked from openedx/edx-ora2
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Contains installation and testing changes for the django 1.11 upgrade preparedness initiative. Splits tests out into seperate shards on travis.
- Loading branch information
Eric Fischer
committed
Aug 2, 2017
1 parent
5a07f1f
commit 0060509
Showing
30 changed files
with
155 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,31 @@ | ||
addons: | ||
apt: | ||
packages: | ||
- aspell | ||
- aspell-en | ||
- g++ | ||
- gcc | ||
- git | ||
- gfortran | ||
- libblas3gf | ||
- libblas-dev | ||
- liblapack3gf | ||
- liblapack-dev | ||
- libatlas-base-dev | ||
- libfontconfig1 | ||
- libmysqlclient-dev | ||
- libxml2-dev | ||
- libxslt1-dev | ||
- nodejs | ||
- python2.7 | ||
- python2.7-dev | ||
- python-pip | ||
- python-software-properties | ||
language: python | ||
sudo: false | ||
python: | ||
- "2.7" | ||
env: | ||
- TOXENV=django18 | ||
- TOXENV=django111 | ||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: TOXENV=quality | ||
- python: 2.7 | ||
env: TOXENV=js | ||
before_install: | ||
- "pip install -U pip" | ||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
install: | ||
- "pip install coveralls" | ||
- "make install" | ||
before_script: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
- "pip install tox" | ||
script: | ||
- "make verify-generated-files" | ||
- "make test" | ||
- "python manage.py makemessages -l eo" | ||
- tox | ||
branches: | ||
only: | ||
- master | ||
- ora-staff-grading | ||
after_success: | ||
coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
include LICENSE | ||
include AUTHORS | ||
include README.rst | ||
include setup.cfg | ||
include openassessment/xblock/static/css/*.css | ||
include openassessment/xblock/static/css/lib/backgrid/*.css | ||
include openassessment/xblock/static/js/openassessment*.min.js | ||
include openassessment/xblock/static/js/lib/backgrid/*.js | ||
include requirements/*.txt | ||
recursive-include openassessment/xblock/static/js/src *.js | ||
recursive-include openassessment/templates *.html *.underscore | ||
recursive-include openassessment/locale *.po | ||
recursive-include openassessment/locale *.mo | ||
global-exclude */test* | ||
global-exclude */test?/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env python | ||
import sys | ||
import os | ||
import sys | ||
|
||
if __name__ == "__main__": | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,22 @@ | ||
# Include the requirements we're caching as "wheel" archives | ||
# to speed up the test builds. | ||
-r wheels.txt | ||
|
||
# edX Internal Requirements | ||
git+https://github.com/edx/[email protected]#egg=XBlock==0.4.12 | ||
edx-submissions>=2.0.6,<3.0.0 | ||
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3 | ||
git+https://github.com/edx/[email protected]#egg=XBlock==1.0.1 | ||
git+https://github.com/edx/[email protected]#egg=xblock-sdk==0.1.4 | ||
|
||
# Third Party Requirements | ||
boto>=2.32.1,<3.0.0 | ||
python-swiftclient==3.1.0 | ||
celery==3.1.18 | ||
defusedxml==0.4.1 | ||
django<1.9a0 # Resolves known bug on gemnasium. See TNL-6266 | ||
django-extensions==1.5.9 | ||
django-model-utils==2.3.1 | ||
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3 | ||
dogapi==1.2.1 | ||
edx-submissions==2.0.6 | ||
jsonfield==1.0.3 | ||
lazy==1.1 | ||
libsass==0.10.0 | ||
loremipsum==1.0.5 | ||
path.py==8.2.1 | ||
python-dateutil==2.1 | ||
python-memcached==1.48 | ||
boto3>=1.4.4,<2.0.0 | ||
python-swiftclient>=3.1.0,<4.0.0 | ||
defusedxml>=0.4.1,<1.0.0 | ||
django-model-utils>=2.3.1,<3.0.0 | ||
django-nose>=1.4.1,<2.0.0 | ||
dogapi>=1.2.1,<2.0.0 | ||
jsonfield>=1.0.3,<2.0.0 | ||
lazy>=1.1,<2.0 | ||
libsass>=0.10.0,<1.0.0 | ||
loremipsum>=1.0.5,<2.0.0 | ||
lxml>=3.4.4,<4.0.0 | ||
path.py>=8.2.1,<9.0.0 | ||
python-dateutil>=2.1,<3.0 | ||
pytz | ||
voluptuous==0.8.5 | ||
|
||
# AI grading | ||
git+https://github.com/edx/ease.git@release-2015-07-14#egg=ease==0.1.3 | ||
git+https://github.com/edx/[email protected]#egg=nltk==2.0.6 | ||
voluptuous>=0.10.5,<1.0.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
django>=1.8,<2.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pep8==1.7.0 | ||
|
||
git+https://github.com/edx/[email protected]#egg=edx_lint==0.5.4 | ||
git+https://github.com/edx/[email protected]#egg=i18n_tools==0.3.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
bok-choy==0.5.3 | ||
ddt==1.0.0 | ||
nose==1.3.7 | ||
pyinstrument==0.13.1 | ||
selenium==2.53.1 | ||
pyinstrument==0.13.2 | ||
selenium==2.53.1 # when upgrading to 3.x, will need to ensure geckodriver is installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
-r base.txt | ||
-r test-acceptance.txt | ||
-r quality.txt | ||
|
||
coverage==4.0.2 | ||
django-nose==1.4.1 | ||
freezegun==0.1.11 | ||
mock==1.0.1 | ||
moto==0.3.1 | ||
pep8==1.7.0 | ||
coverage==4.4.1 | ||
ddt==1.0.0 | ||
factory_boy==2.8.1 | ||
freezegun==0.3.9 | ||
mock==2.0.0 | ||
moto==1.0.1 | ||
nose==1.3.7 | ||
tox==2.7.0 | ||
|
||
git+https://github.com/edx/[email protected]#egg=django-pyfs==1.0.3 | ||
git+https://github.com/edx/i18n-tools.git@56f048af9b6868613c14aeae760548834c495011#egg=i18n_tools | ||
git+https://github.com/edx/[email protected]#egg=edx_lint==0.4.1 | ||
git+https://github.com/edx/[email protected]#egg=django-pyfs==1.0.6 |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.