Skip to content

Commit 5a2eacd

Browse files
committed
move to separate travis build
1 parent 61c4f5d commit 5a2eacd

7 files changed

+52
-4
lines changed

.travis.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ matrix:
4444
- language-pack-zh-hans
4545
- dist: trusty
4646
env:
47-
- JOB="2.7" TEST_ARGS="--skip-slow" LINT=true ASV=true
47+
- JOB="2.7" TEST_ARGS="--skip-slow" LINT=true
4848
addons:
4949
apt:
5050
packages:
@@ -76,6 +76,10 @@ matrix:
7676
- dist: trusty
7777
env:
7878
- JOB="3.6_DOC" DOC=true
79+
# In allow_failures
80+
- dist: trusty
81+
env:
82+
- JOB="3.6_ASV" ASV=true
7983
allow_failures:
8084
- dist: trusty
8185
env:
@@ -96,6 +100,9 @@ matrix:
96100
- dist: trusty
97101
env:
98102
- JOB="3.6_DOC" DOC=true
103+
- dist: trusty
104+
env:
105+
- JOB="3.6_ASV" ASV=true
99106

100107
before_install:
101108
- echo "before_install"

ci/asv.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ RET=0
99
if [ "$ASV" ]; then
1010
echo "Check for failed asv benchmarks"
1111

12-
pip install git+https://github.com/spacetelescope/asv
13-
1412
cd asv_bench
1513

1614
asv machine --yes
1715

18-
time asv run --quick | grep "failed"
16+
time asv run --quick
1917

2018
if [ $? = "0" ]; then
2119
RET=1

ci/requirements-3.6_ASV.build

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python=3.6*
2+
python-dateutil
3+
pytz
4+
numpy=1.13*
5+
cython

ci/requirements-3.6_ASV.run

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
ipython
2+
ipykernel
3+
ipywidgets
4+
sphinx=1.5*
5+
nbconvert
6+
nbformat
7+
notebook
8+
matplotlib
9+
seaborn
10+
scipy
11+
lxml
12+
beautifulsoup4
13+
html5lib
14+
pytables
15+
python-snappy
16+
openpyxl
17+
xlrd
18+
xlwt
19+
xlsxwriter
20+
sqlalchemy
21+
numexpr
22+
bottleneck
23+
statsmodels
24+
xarray
25+
pyqt

ci/requirements-3.6_ASV.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
source activate pandas
4+
5+
echo "[install ASV_BUILD deps]"
6+
7+
pip install git+https://github.com/spacetelescope/asv

ci/script_multi.sh

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ if [ "$PIP_BUILD_TEST" ] || [ "$CONDA_BUILD_TEST" ]; then
3737
elif [ "$DOC" ]; then
3838
echo "We are not running pytest as this is a doc-build"
3939

40+
elif [ "$ASV" ]; then
41+
echo "We are not running pytest as this is an asv-build"
42+
4043
elif [ "$COVERAGE" ]; then
4144
echo pytest -s -n 2 -m "not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas
4245
pytest -s -n 2 -m "not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=/tmp/multiple.xml --strict $TEST_ARGS pandas

ci/script_single.sh

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if [ "$PIP_BUILD_TEST" ] || [ "$CONDA_BUILD_TEST" ]; then
2222
elif [ "$DOC" ]; then
2323
echo "We are not running pytest as this is a doc-build"
2424

25+
elif [ "$ASV" ]; then
26+
echo "We are not running pytest as this is an asv-build"
27+
2528
elif [ "$COVERAGE" ]; then
2629
echo pytest -s -m "single" --strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=/tmp/single.xml $TEST_ARGS pandas
2730
pytest -s -m "single" --strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=/tmp/single.xml $TEST_ARGS pandas

0 commit comments

Comments
 (0)