2016-06-03 10:58:41 -05:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2017-07-12 11:53:38 -05:00
|
|
|
- "3.6"
|
2017-08-16 06:19:56 -05:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
dist: trusty
|
2016-06-12 15:04:57 -05:00
|
|
|
before_install:
|
2017-06-30 06:59:19 -05:00
|
|
|
- "pip install --upgrade setuptools"
|
|
|
|
- "pip install --upgrade pip"
|
2017-03-27 12:01:57 -05:00
|
|
|
- "pip install -e .[tests]"
|
2016-06-03 10:58:41 -05:00
|
|
|
install: "pip install -r requirements.txt"
|
2016-06-03 19:24:01 -05:00
|
|
|
script:
|
2017-08-11 23:08:09 -05:00
|
|
|
- python3 -m flake8
|
2017-08-12 06:26:59 -05:00
|
|
|
- find . -iname "*.py" | xargs pylint --rcfile .pylintrc
|
2017-05-01 23:15:33 -05:00
|
|
|
- python3 -m pytest ./tests/test_*.py --cov buku -vv
|
2017-08-16 06:19:56 -05:00
|
|
|
before_deploy:
|
|
|
|
- sudo apt-get update -qy
|
|
|
|
- sudo apt-get install -qy python3 python3-pip
|
|
|
|
- python3 -m pip install packagecore
|
|
|
|
- packagecore -o dist/ "${TRAVIS_TAG#v}"
|
2016-06-05 13:04:50 -05:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2017-08-16 06:19:56 -05:00
|
|
|
api_key:
|
2016-06-05 13:04:50 -05:00
|
|
|
secure: Zf+3StERDV9B0knxNj9UdiMv9kmrE9d80a27/e7IioZv6CUvCqbIpgzN5bD3yoTlJsHq3hY6BHF8OQpkH0B0pj3xwcxgcicwDdpGA9o43aIA+zqNSb6w1VHm784KZ+Z+z1NcVNEzCyIONXEIV0KRe73NUU/7Re6heA46lPDIMFF0EL8Fjv5tPb5VLq3z0jvA8mNlXfqiwtiWT/Zz7y6PvbKQZ5nSebK0WVBdGhuaQLj9EKNwdnxkgH3gsA1gAtiuaQdgDUxF69Xf5VY6hZPhdK5LSLl/5HDpandX9nLu5j3ZuSHn1pJWgdKw72aeWYSpKtgnBQ/uS5JLamqK31kHXfRVebp0uB2I1RBiLYhb5T0MO8BnFc6O+/f2qS7nQHGKZ9M+Mo+I+ceharLmCt7KfDA1yBP+AnwjsHYe1zgnGZfwSm+/ny1R1NoVmuyXPHkEDviOsT5JLSfLvuzCUstY4gsAYyXKHLDbHfMLxXQRRfK1RoJzR4taMntmsWsl2fIshzKujeck1o4wRu/FQIlq2ANYQVNrrcDSO+C5lZkSA8iivg7lIXk/n9Lxk7QcJkvrZkzOg0y9EKAejY87vejpessG1t2OD7GwUqWZMBBlPJXnbfTiUzTJqC+b8brwnAhu/QI8jMUvxWkTMO7XOiyZBpQljv2U9MwFNH8Ge4fwIag=
|
|
|
|
file_glob: true
|
2017-08-16 06:19:56 -05:00
|
|
|
file:
|
|
|
|
- dist/*
|
|
|
|
skip_cleanup: true
|
2016-06-05 13:04:50 -05:00
|
|
|
on:
|
|
|
|
tags: true
|
2017-08-16 06:19:56 -05:00
|
|
|
repo: jarun/Buku
|
|
|
|
python: "3.6"
|