forked from sec-edgar/sec-edgar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (38 loc) · 1.42 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sudo: false
language: python
matrix:
allow_failures:
- python: 2.7
include:
- python: 2.7
dist: trusty
- python: 3.5
dist: trusty
- python: 3.6
dist: trusty
env: DOCBUILD=true
- python: 3.7
dist: xenial
sudo: true
- python: 3.8
env:
global:
# Doctr deploy key for coyo8/sec-edgar
- secure: "Yli1M7XnE5EmLhSkfSajLelrNs9rjxcMT59e7G7586OaOdzgEviJA285HCChwJdkfYNyoa3msMwx/ciQHn6tQ7xWm8EowG4v+L7WVgFZ9MacdG4nYqOrDIKfQUpK64rfbD5GGlTd8ptmgCN2+RtY8xkJ1Ajbbb7GqBc2XeSDTbzrCp8feIkV9gV3Nvcz7O4g1zBuyiuR+w9fO66rzcVEvqraZWavt5mrMqB1T8ghqWBGYGgnL3NXBcbdkgyaD8IPtR9twpGc3x1b9jwzQdYKBZ4bvbNwn3qYQwkFkXOt9rBZN+Ba70vKwGGptI10QPCrkxkYGM6HkcX8lTPJyhAFJ4iIGqkQ/kC63SHXgQ0rEBTwu2wXQ835dYJ5H83718mDkQ3jO03ucKFq343oQJcJfdIiVV2YOQamTXlqtpaJ6kpGk94rjrWa0INPl8PJ8lrowP1CrDEIOS20T6hUtGI3dzf/5Ei1nGluuScOobFJSDAg4ea0aTOjktmOcVyruCqpjdF74GnoLIkij96oPE7t/ear4CQjUM5VICSYDJL9kBEg+ptTsIeJE73KSc/SnVT13maf/HVpav6xdKWrwQBxkmdo4Nwe8LFWDD3wQmcICJpY0mxrTqwvpCRFPBhJMciJdJPp7Z+IiHGvoJ0eT8j6ERZL0hdaUV4VfUq9aA5L4gk="
install:
- pip install -qq flake8
- pip install pytest
- if [[ $DOCBUILD ]]; then
pip install doctr sphinx sphinx_rtd_theme ipython matplotlib;
fi
- python setup.py install
script:
- set -e
- flake8 --version
- flake8 secedgar
- pytest secedgar/tests
- |
if [[ $DOCBUILD ]]; then
make -C docs html
doctr deploy . --built-docs docs/build/html/
fi