Commit 164627b5 by Xavier Antoviaque

Fix Travis build - xblock-sdk assumes a specific CWD & use Firefox 36

parent 8292c419
...@@ -11,4 +11,6 @@ install: ...@@ -11,4 +11,6 @@ install:
- "pip install dist/xblock-drag-and-drop-v2-0.1.tar.gz" - "pip install dist/xblock-drag-and-drop-v2-0.1.tar.gz"
script: pep8 drag_and_drop_v2 --max-line-length=120 && python run_tests.py script: pep8 drag_and_drop_v2 --max-line-length=120 && python run_tests.py
notifications: notifications:
email: false email: false
\ No newline at end of file addons:
firefox: "36.0"
# Installs xblock-sdk and dependencies needed to run the tests suite. # Installs xblock-sdk and dependencies needed to run the tests suite.
# Run this script inside a fresh virtual environment. # Run this script inside a fresh virtual environment.
pip install -e git://github.com/edx/xblock-sdk.git#egg=xblock-sdk pip install -e git://github.com/edx/xblock-sdk.git#egg=xblock-sdk
pip install -r $VIRTUAL_ENV/src/xblock-sdk/requirements.txt cd $VIRTUAL_ENV/src/xblock-sdk/ && pip install -r requirements.txt \
pip install -r $VIRTUAL_ENV/src/xblock-sdk/test-requirements.txt && pip install -r test-requirements.txt && cd -
python setup.py develop python setup.py develop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment