* precommit hooks and changes because of these * mv package into src dir * add requirements file, clean up setup reqs, add precommit to CI
14 lines
314 B
YAML
14 lines
314 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.6"
|
|
# command to install dependencies
|
|
install:
|
|
- pip install -U setuptools
|
|
- pip install .
|
|
- pip install -r requirements.txt
|
|
# command to run tests
|
|
script:
|
|
- python setup.py test
|
|
- if [[ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ]]; then pre-commit run --all-files; fi
|