genienlp/.travis.yml

31 lines
984 B
YAML
Raw Normal View History

group: travis_latest
language: python
cache: pip
python:
2018-06-22 17:51:09 +00:00
#- 2.7
- 3.6
#- nightly
#- pypy
#- pypy3
matrix:
allow_failures:
- python: nightly
- python: pypy
- python: pypy3
install:
2019-03-02 01:51:47 +00:00
#- pip install -r requirements.txt
- pip install flake8 # pytest # add another testing frameworks later
2019-03-02 01:11:03 +00:00
- pip install pipenv
- pipenv install --dev
2019-03-04 23:08:56 +00:00
- python3 ./setup.py install
before_script:
# 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
script:
2019-03-04 23:08:56 +00:00
- "./decanlp/tests/test.sh" # pytest --capture=sys # add other tests here
notifications:
on_success: change
on_failure: change # `always` will be the setting once code changes slow down