@@ -3,6 +3,7 @@ language: python
3
3
4
4
env :
5
5
global :
6
+ - TEST_TYPE="stable and not requires_api_key"
6
7
# Doctr deploy key for pydata/pandas-datareader
7
8
- secure : " iGbOAbBSV5y0TKDh2CifRSk6OpLA9GbEEL/hscHFLSDDUCWcdfvYXda3SWJFWyoQ5QUxSigXWd+ukr4u92d7lmB7m3TWj6BAMNuRpatTgnejLNwLvNeYdvLAxPvx39Cq85frd1Rx1beBLn3h/4wm4Ah+dR5W9NH8+x3OuZMH3Eo="
8
9
@@ -19,10 +20,18 @@ matrix:
19
20
env : PANDAS=0.23 NUMPY=1.14
20
21
- python : 3.7
21
22
env : PANDAS=0.25 NUMPY=1.17 DOCBUILD=true
23
+ - python : 3.7
24
+ env : PANDAS=0.25 NUMPY=1.17
25
+ - python : 3.7
26
+ env : TEST_TYPE="not stable" PANDAS=0.25 NUMPY=1.17
22
27
# In allow failures
23
- - env : PYTHON=3.7 PANDAS="MASTER"
28
+ - python : 3.7
29
+ env : PANDAS="MASTER" NUMPY=1.17
24
30
allow_failures :
25
- - env : PYTHON=3.7 PANDAS="MASTER"
31
+ - python : 3.7
32
+ env : PANDAS="MASTER" NUMPY=1.17
33
+ - python : 3.7
34
+ env : TEST_TYPE="not stable" PANDAS=0.25 NUMPY=1.17
26
35
27
36
install :
28
37
- source ci/pypi-install.sh;
@@ -31,9 +40,10 @@ install:
31
40
- python setup.py install
32
41
33
42
script :
34
- - pytest -s -r xX --cov-config .coveragerc --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
35
- - flake8 --version
36
- - flake8 pandas_datareader
43
+ - if [[ -n "${TEST_TYPE+x}" ]]; then export MARKERS="-m ${TEST_TYPE}"; fi
44
+ - pytest -s -r xX "${MARKERS}" --cov-config .coveragerc --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
45
+ - flake8 --version
46
+ - flake8 pandas_datareader
37
47
38
48
after_script :
39
49
- |
0 commit comments