forked from openedx/edx-ora2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request openedx#1023 from edx/efischer/tox
Tox, for parallel test goodness
- Loading branch information
Showing
188 changed files
with
842 additions
and
8,007 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 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
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
Oops, something went wrong.