mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
33 lines
872 B
YAML
33 lines
872 B
YAML
language: python
|
|
python:
|
|
"3.6"
|
|
cache: pip
|
|
|
|
addons:
|
|
chrome: stable
|
|
|
|
install:
|
|
- latest=$(wget -qO- https://chromedriver.storage.googleapis.com/LATEST_RELEASE) | wget https://chromedriver.storage.googleapis.com/$latest/chromedriver_linux64.zip
|
|
- unzip chromedriver_linux64.zip
|
|
- export PATH=$PATH:$(pwd)
|
|
- chmod +x chromedriver
|
|
- pip install -r requirements.txt
|
|
- pip install coveralls codeclimate-test-reporter pycodestyle
|
|
|
|
before_script:
|
|
- export PATH=$PATH:/usr/lib/chromium-browser/
|
|
- python manage.py collectstatic --noinput
|
|
|
|
script:
|
|
- pycodestyle . --exclude=migrations,importer*
|
|
- python manage.py check
|
|
- python manage.py makemigrations --check --dry-run
|
|
- coverage run manage.py test --verbosity=2
|
|
|
|
after_success:
|
|
- coveralls
|
|
- codeclimate-test-reporter
|
|
|
|
notifications:
|
|
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify
|