Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
edx
course-discovery
Commits
db554692
Commit
db554692
authored
Nov 29, 2016
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get tests working. This still needs to be re-worked.
parent
56846d51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
.travis/run_tests.sh
+12
-6
No files found.
.travis/run_tests.sh
View file @
db554692
...
...
@@ -3,15 +3,22 @@
.
/edx/app/discovery/nodeenvs/discovery/bin/activate
apt update
apt install
-y
xvfb firefox gettext
apt install
-y
xvfb firefox gettext wget
cd
wget https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz
tar
xvzf geckodriver-v0.11.1-linux64.tar.gz
mv geckodriver /usr/bin/
pip install
--upgrade
selenium
cd
/edx/app/discovery/discovery
pip install
-U
pip wheel
# Make it so bower can run without sudo.
# https://github.com/GeoNode/geonode/pull/1070
echo
'{ "allow_root": true }'
>
/root/.bowerrc
make requirements
make requirements.js
# Ensure documentation can be compiled
cd
docs
&&
make html
cd
..
...
...
@@ -22,7 +29,6 @@ export DJANGO_SETTINGS_MODULE=course_discovery.settings.test
make validate_translations
# Compile assets and run validation
xvfb-run make clean_static
xvfb-run make static
xvfb-run make validate_python
xvfb-run make validate_js
make clean_static
make static
xvfb-run make validate
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