1
mirror of https://github.com/public-apis/public-apis synced 2025-03-03 17:33:03 +01:00
public-apis/.travis.yml

16 lines
488 B
YAML
Raw Normal View History

language: python
python: "3.6"
notifications:
2017-08-05 16:54:12 -04:00
email: true
2017-12-28 23:01:12 -05:00
install:
- pip install -r build/requirements.txt
2017-06-29 12:25:56 -04:00
before_script:
2018-01-28 15:48:53 -05:00
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
2017-07-10 01:05:15 -04:00
- cd build
script:
2017-07-10 01:41:50 -04:00
- ./main.sh
2017-08-08 21:30:47 -04:00