Skip to content

Commit 283233d

Browse files
Restoing documentation build in travis
1 parent 9aa18d0 commit 283233d

File tree

4 files changed

+59
-2
lines changed

4 files changed

+59
-2
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ cache:
1414
- $HOME/.cache # cython cache
1515
- $HOME/.ccache # compiler cache
1616

17+
env:
18+
global:
19+
# create a github personal access token
20+
# cd pandas-dev/pandas
21+
# travis encrypt 'PANDAS_GH_TOKEN=personal_access_token' -r pandas-dev/pandas
22+
- secure: "EkWLZhbrp/mXJOx38CHjs7BnjXafsqHtwxPQrqWy457VDFWhIY1DMnIR/lOWG+a20Qv52sCsFtiZEmMfUjf0pLGXOqurdxbYBGJ7/ikFLk9yV2rDwiArUlVM9bWFnFxHvdz9zewBH55WurrY4ShZWyV+x2dWjjceWG5VpWeI6sA="
23+
1724
git:
1825
# for cloning
1926
depth: 1500

ci/deps/travis-36-doc.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: pandas
2+
channels:
3+
- defaults
4+
- conda-forge
5+
dependencies:
6+
- beautifulsoup4
7+
- bottleneck
8+
- cython>=0.28.2
9+
- fastparquet
10+
- gitpython
11+
- html5lib
12+
- hypothesis>=3.58.0
13+
- ipykernel
14+
- ipython
15+
- ipywidgets
16+
- lxml
17+
- matplotlib
18+
- nbconvert
19+
- nbformat
20+
- nbsphinx
21+
- notebook
22+
- numexpr
23+
- numpy=1.13*
24+
- openpyxl
25+
- pandoc
26+
- pyarrow
27+
- pyqt
28+
- pytables
29+
- python-dateutil
30+
- python-snappy
31+
- python=3.6*
32+
- pytz
33+
- scipy
34+
- seaborn
35+
- sphinx
36+
- sqlalchemy
37+
- statsmodels
38+
- xarray
39+
- xlrd
40+
- xlsxwriter
41+
- xlwt
42+
# universal
43+
- pytest
44+
- pytest-xdist

ci/script_multi.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ fi
2323
export PYTHONHASHSEED=$(python -c 'import random; print(random.randint(1, 4294967295))')
2424
echo PYTHONHASHSEED=$PYTHONHASHSEED
2525

26-
if [ "$COVERAGE" ]; then
26+
if [ "$DOC" ]; then
27+
echo "We are not running pytest as this is a doc-build"
28+
29+
elif [ "$COVERAGE" ]; then
2730
echo pytest -s -n 2 -m "not single" --durations=10 --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
2831
pytest -s -n 2 -m "not single" --durations=10 --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
2932

ci/script_single.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ if echo "$TEST_ARGS" | grep -e --skip-network -q; then
2222
export http_proxy=http://1.2.3.4 https_proxy=http://1.2.3.4;
2323
fi
2424

25-
if [ "$COVERAGE" ]; then
25+
if [ "$DOC" ]; then
26+
echo "We are not running pytest as this is a doc-build"
27+
28+
elif [ "$COVERAGE" ]; then
2629
echo pytest -s -m "single" --durations=10 --strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=test-data-single.xml $TEST_ARGS pandas
2730
pytest -s -m "single" --durations=10 --strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=test-data-single.xml $TEST_ARGS pandas
2831
else

0 commit comments

Comments
 (0)