Skip to content

Commit 680922c

Browse files
committed
Merge pull request #2 from hayd/travis
Travis working
2 parents ea034a7 + 4f3bbb5 commit 680922c

22 files changed

+51
-20
lines changed

.travis.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ env:
55
- PYTHON=2.7 PANDAS=0.15.1
66
- PYTHON=3.3 PANDAS=0.14.1
77
- PYTHON=3.4 PANDAS=0.15.1
8+
- PYTHON=2.7 PANDAS=0.12.0
9+
- PYTHON=2.7 PANDAS=0.11.0
10+
- PYTHON=2.7 PANDAS=0.10.1
11+
12+
matrix:
13+
allow_failures:
14+
- env: PYTHON=2.7 PANDAS=0.12.0
15+
- env: PYTHON=2.7 PANDAS=0.11.0
16+
- env: PYTHON=2.7 PANDAS=0.10.1
817

918
install:
1019
- sudo apt-get update
@@ -26,13 +35,13 @@ install:
2635
- conda info -a
2736

2837
# Replace dep1 dep2 ... with your dependencies
29-
- conda create -q -n test-environment python=$PYTHON pandas=$PANDAS nose coverage
38+
- conda create -q -n test-environment python=$PYTHON pandas=$PANDAS nose coverage setuptools
3039
- source activate test-environment
3140
- conda list
3241
- python setup.py install
3342

3443
script:
35-
- nosetests --with-coverage --cover-package=pandas_data_readers
44+
- nosetests --with-coverage --cover-package=pandas_datareader
3645

3746
after_success:
3847
- coveralls

MANIFEST.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include README.md
22
include LICENSE.md
3-
include pandas_data_readers/*.py
3+
include pandas_datareader/*.py
44

5-
include pandas_data_readers/tests/*.py
6-
include pandas_data_readers/tests/data/*
5+
include pandas_datareader/tests/*.py
6+
include pandas_datareader/tests/data/*
File renamed without changes.

pandas_data_readers/data.py renamed to pandas_datareader/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _retry_read_url(url, retry_count, pause, name):
166166
pass
167167
else:
168168
rs = read_csv(StringIO(bytes_to_str(lines)), index_col=0,
169-
parse_dates=True)[::-1]
169+
parse_dates=True, na_values='-')[::-1]
170170
# Yahoo! Finance sometimes does this awesome thing where they
171171
# return 2 rows for the most recent business day
172172
if len(rs) > 2 and rs.index[-1] == rs.index[-2]: # pragma: no cover

0 commit comments

Comments
 (0)