This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate selenium on travis with version 3.4.0 and
update docs to reflect the changes in command changes Closes #676
- Loading branch information
Showing
25 changed files
with
74 additions
and
380 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,20 +1,38 @@ | ||
language: python | ||
|
||
env: | ||
- MOZ_HEADLESS=1 | ||
|
||
addons: | ||
firefox: "55.0" | ||
|
||
python: | ||
- "2.7" | ||
|
||
services: postgresql | ||
|
||
before_install: | ||
- wget https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-linux64.tar.gz | ||
- tar -xzvf geckodriver-v0.20.1-linux64.tar.gz | ||
- sudo mv geckodriver /usr/local/bin | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
|
||
before_script: | ||
- psql -c "create role vmsadmin with createrole createdb login password '0xdeadbeef';" -U postgres | ||
- psql -c "CREATE DATABASE vms;" -U postgres | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
- sleep 3 | ||
- export DJANGO_SECRET_KEY=foobarbaz | ||
|
||
script: | ||
- cd vms | ||
- python manage.py syncdb --noinput | ||
- python manage.py migrate --noinput --traceback --settings=vms.settings | ||
- coverage run --source='.' manage.py test | ||
- coverage run --source='.' manage.py test -v 2 | ||
- coverage report -m | ||
|
||
after_success: | ||
coveralls --rcfile=.coveragerc |
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
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.