Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-drag-and-drop-v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
xblock-drag-and-drop-v2
Commits
51c91c9b
Commit
51c91c9b
authored
Dec 03, 2015
by
Tim Krones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Travis build.
parent
2a36adad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
install_test_deps.sh
+2
-2
run_tests.py
+6
-0
No files found.
install_test_deps.sh
View file @
51c91c9b
# 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
cd
$VIRTUAL_ENV
/src/xblock-sdk/
&&
pip install
-r
requirements.txt
\
cd
$VIRTUAL_ENV
/src/xblock-sdk/
&&
pip install
-r
requirements
/base
.txt
\
&&
pip install
-r
test-requirements
.txt
&&
cd
-
&&
pip install
-r
requirements/test
.txt
&&
cd
-
python setup.py develop
python setup.py develop
run_tests.py
View file @
51c91c9b
...
@@ -21,6 +21,12 @@ if __name__ == "__main__":
...
@@ -21,6 +21,12 @@ if __name__ == "__main__":
# Configure a range of ports in case the default port of 8081 is in use
# Configure a range of ports in case the default port of 8081 is in use
os
.
environ
.
setdefault
(
"DJANGO_LIVE_TEST_SERVER_ADDRESS"
,
"localhost:8081-8099"
)
os
.
environ
.
setdefault
(
"DJANGO_LIVE_TEST_SERVER_ADDRESS"
,
"localhost:8081-8099"
)
try
:
os
.
mkdir
(
'var'
)
except
OSError
:
# May already exist.
pass
from
django.core.management
import
execute_from_command_line
from
django.core.management
import
execute_from_command_line
args
=
sys
.
argv
[
1
:]
args
=
sys
.
argv
[
1
:]
paths
=
[
arg
for
arg
in
args
if
arg
[
0
]
!=
'-'
]
paths
=
[
arg
for
arg
in
args
if
arg
[
0
]
!=
'-'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment