mirror of
https://github.com/LazoCoder/Pokemon-Terminal
synced 2024-11-27 22:30:36 +00:00
7b4a7656fc
Pokemon-Terminal does not support Python 2.
20 lines
562 B
YAML
20 lines
562 B
YAML
sudo: false
|
|
dist: trusty
|
|
language: python
|
|
python:
|
|
- "3.5.0"
|
|
- "3.6.1"
|
|
- "nightly" # currently points to 3.7-dev
|
|
install:
|
|
- pip install flake8, pytest
|
|
before_script:
|
|
# stop the build if there are Python syntax errors
|
|
- flake8 . --count --select=E901,E999 --statistics
|
|
# exit-zero treates all errors as warnings. The GitHub editor is 127 chars wide
|
|
- flake8 . --count --exit-zero --max-line-length=127 --statistics
|
|
script:
|
|
pytest --capture=sys
|
|
# python unittest.py
|
|
notifications:
|
|
on_success: change
|
|
on_failure: always
|