forked from weecology/retriever
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
19 lines (16 loc) · 811 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cache: packages
sudo: required
warnings_are_errors: false
services:
- docker
# command to run tests using py.test
script:
- docker-compose run --service-ports python_retriever pytest -v -k "not test_geojson2csv" --cov=retriever
- docker-compose run python_retriever flake8 --ignore=E501,W503,E402,F401,F403,E722,F841,W504 retriever --max-line-length=90 2>&1
- docker-compose run python_retriever yapf -d --recursive retriever/ --style=.style.yapf 2>&1
# - docker-compose run python_retriever pylint -rn retriever/ -f colorized --rcfile=.pylintrc > /dev/null 2>&1
after_success:
- codecov
notifications:
slack:
secure: h18p9TjI6fiQ/8IT4lk9zcgC15z5HlK0UAYiegvf8ckpw3DadOZ2bo4YyeoAv6OJgp8JGYdw0C3UISfKpoiECdjJvuClk9ZFu5/i+J+3pTaedUbaxU+ps5hDfH5ubaRGLIro61Iz2bUfwqHftc5sxKhdfoEV1TI72gTs041I5I4=