mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
33 lines
771 B
YAML
33 lines
771 B
YAML
language: python
|
|
python:
|
|
"3.6"
|
|
cache: pip
|
|
|
|
addons:
|
|
chrome: beta
|
|
|
|
install:
|
|
- wget http://chromedriver.storage.googleapis.com/2.32/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 pep8
|
|
|
|
before_script:
|
|
- export PATH=$PATH:/usr/lib/chromium-browser/
|
|
- python manage.py collectstatic --noinput
|
|
|
|
script:
|
|
- pep8 . --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
|