-
Notifications
You must be signed in to change notification settings - Fork 136
/
.travis.yml
55 lines (49 loc) · 1.83 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
44
45
46
47
48
49
50
51
52
53
54
55
sudo: false
dist: bionic
language: python
env:
global:
# Doctr deploy key for addisonlynch/iexfinance
- secure: "tuFMca56/oHg/ufxFih5aLpGxlZD7P9/yh+mZc95rcH9HCyTyxMkesgas4GyKSxxlpHL3WzkkvTKMMNZL17ZpCne6UzaR0UILgEmaCk2Numxg+fBDAvtPl0gWs6LkFvtUZYa9vn+A6ipxe/2kO6uGvU5wgsVEC5QOEZ22ZqSYE2rvsidAN4XiVVH00u5jDEYzSYWpS9fglKb/gaDbRQE8VyrSTERrRtAGEBdm0argIh90us9WU2meW9v50aTZysO1JduDw0B0di7UDg422Xw7pMS16lryHA8VMZtijYIokVM21zaf8Rc++L1pLZPbm2pdHcrHoazMxIoOS9FW69pluM7fcIWlqbT6T5GOJTzu6zg1nDBXuC5G+Pd1DuDahZ9CNCvnwuJszBhwMtXO5uU7kM5J2tg4YOkzG8TaXuPKd9x1mBSC6fk2XqnGv/zGPUfCDi4qcM56CeDsliD+uCFDujQYRCCr1BjWuK7fvNXOc0Z71tfqUjGExap/gBu9wm94Q+xt0JydlCGZpfHqHkSImHdgBPXmly6wfHGGu/Ps3lNHJUUD5GToXAhkydV4vt2EEXeZMiSh88ThI06ghFzLBTZ6aIbxty/KIOnxzbXD2TqB+NYm0UXSj0f+tGrrAtqk79cAga9GTuGdQGkGCneuGe2fGUc/e7RGR7MrLZwO2E="
matrix:
fast_finish: true
include:
- python: 3.5
env: PANDAS=0.23 NUMPY=1.13
dist: trusty
- python: 3.6
env: PANDAS=MASTER NUMPY=1.14
- python: 3.7
env: PANDAS=MASTER NUMPY=1.17
- python: 3.8
dist: xenial
env: PANDAS=MASTER DOCBUILD=true NUMPY=1.18
install:
- source ci/pypi-install.sh
- pip list
- python setup.py install
script:
- coverage run setup.py pytest
- |
if (( $(echo "$TRAVIS_PYTHON_VERSION > 3.5" | bc -l))); then
black --version; black --check iexfinance
fi
- flake8 --version
- flake8 iexfinance
- |
if [[ $DOCBUILD ]]; then
flake8-rst --version
flake8-rst --filename="*.rst"
set -e
cd docs
make html
cd ..
doctr deploy devel --build-tags
if [[ -z ${TRAVIS_TAG} ]]; then
echo "Not a tagged build."
else
doctr deploy stable --build-tags
fi
fi
after_script:
- codecov --token='f4d1c94d-2af2-49c9-aebd-4e009c8a6266'