Skip to content

Commit 378adfb

Browse files
author
y-p
committed
Revert "BLD: Travis revamped their log widget, be verbose and fold furiously"
This reverts commit 18d3893. Log file is too big, display is delayed too much
1 parent 65adecf commit 378adfb

File tree

3 files changed

+32
-60
lines changed

3 files changed

+32
-60
lines changed

.travis.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: python
22

3-
# travis insist on having at least one entry here, rather then
4-
# all in the matrix section
53
python:
64
- 2.6
5+
- 3.3
76

87
env:
98
global:
@@ -17,8 +16,6 @@ matrix:
1716
env: FULL_DEPS=true
1817
- python: 3.2
1918
env: FULL_DEPS=true
20-
- python: 3.3
21-
2219

2320
# allow importing from site-packages,
2421
# so apt-get python-x works for system pythons
@@ -30,8 +27,8 @@ before_install:
3027
- echo "Waldo1"
3128
- echo $VIRTUAL_ENV
3229
- date
33-
# - export PIP_ARGS=-q # comment this this to debug travis install issues
34-
# - export APT_ARGS=-qq # comment this to debug travis install issues
30+
- export PIP_ARGS=-q # comment this this to debug travis install issues
31+
- export APT_ARGS=-qq # comment this to debug travis install issues
3532
# - set -x # enable this to see bash commands
3633
- source ci/before_install.sh # we need to source this to bring in the env
3734
- python -V

ci/install.sh

+22-48
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,8 @@ echo "inside $0"
66
# workaround for travis ignoring system_site_packages in travis.yml
77
rm -f $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt
88

9-
function pip_install {
10-
NAME="$1"
11-
if [ x"$2" != x"$2" ]; then
12-
NAME=$2;
13-
fi
14-
echo "travis_fold:begin:$NAME"
15-
pip install $PIP_ARGS "$1"
16-
echo "travis_fold:end:$NAME"
17-
}
18-
function apt_install {
19-
NAME=$1
20-
if [ x"$2" != x"!2" ]; then
21-
NAME=$2;
22-
fi
23-
echo "travis_fold:begin:$NAME"
24-
sudo apt-get install $APT_ARGS "$1"
25-
echo "travis_fold:end:$NAME"
26-
}
27-
289
# Hard Deps
29-
pip_install cython
30-
pip_install nose
31-
pip_install python-dateutil
32-
pip_install pytz
10+
pip install $PIP_ARGS --use-mirrors cython nose python-dateutil pytz
3311

3412
# try and get numpy as a binary deb
3513

@@ -39,63 +17,59 @@ pip_install pytz
3917
# fi
4018

4119
if [ ${TRAVIS_PYTHON_VERSION} == "3.2" ]; then
42-
apt_install python3-numpy;
20+
sudo apt-get $APT_ARGS install python3-numpy;
4321
elif [ ${TRAVIS_PYTHON_VERSION} == "3.3" ] || [ x"$LOCALE_OVERRIDE" != x"" ]; then # should be >=3,3
44-
pip_install numpy==1.7.0
22+
pip $PIP_ARGS install https://github.com/numpy/numpy/archive/v1.7.0.tar.gz;
4523
else
46-
pip_install numpy==1.6.1
24+
pip install numpy==1.6.1
4725
fi
4826

4927
# Optional Deps
5028
if [ x"$FULL_DEPS" == x"true" ]; then
5129
echo "Installing FULL_DEPS"
5230
if [ ${TRAVIS_PYTHON_VERSION} == "2.7" ]; then
53-
apt_install python-scipy;
31+
sudo apt-get $APT_ARGS install python-scipy;
5432
fi
5533

5634
if [ ${TRAVIS_PYTHON_VERSION} == "3.2" ]; then
57-
apt_install $APT_ARGS install python3-scipy;
35+
sudo apt-get $APT_ARGS install python3-scipy;
5836
fi
5937

6038
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
6139
sudo apt-get $APT_ARGS install libhdf5-serial-dev;
62-
pip_install numexpr
63-
pip_install tables
40+
pip install numexpr
41+
pip install tables
6442
fi
6543

66-
pip_install matplotlib;
67-
pip_install openpyxl;
68-
pip_install xlwt;
69-
pip_install xlrd ;
70-
pip_install 'http://downloads.sourceforge.net/project/pytseries/scikits.timeseries/0.91.3/scikits.timeseries-0.91.3.tar.gz?r=' scikit.timeseries
44+
pip install $PIP_ARGS --use-mirrors openpyxl matplotlib;
45+
pip install $PIP_ARGS --use-mirrors xlrd xlwt;
46+
pip install $PIP_ARGS 'http://downloads.sourceforge.net/project/pytseries/scikits.timeseries/0.91.3/scikits.timeseries-0.91.3.tar.gz?r='
7147
fi
7248

73-
# if [ x"$VBENCH" == x"true" ]; then
74-
# if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
75-
# sudo apt-get $APT_ARGS install libhdf5-serial-dev;
76-
# pip install numexpr
77-
# pip install tables
78-
# fi
79-
# pip $PIP_ARGS install sqlalchemy git+git://github.com/pydata/vbench.git;
80-
# fi
49+
if [ x"$VBENCH" == x"true" ]; then
50+
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then
51+
sudo apt-get $APT_ARGS install libhdf5-serial-dev;
52+
pip install numexpr
53+
pip install tables
54+
fi
55+
pip $PIP_ARGS install sqlalchemy git+git://github.com/pydata/vbench.git;
56+
fi
8157

8258
#build and install pandas
83-
echo "travis_fold:begin:pandas-install"
8459
python setup.py build_ext install
85-
echo "travis_fold:end:pandas-install"
8660

8761
#HACK: pandas is a statsmodels dependency
8862
# so we need to install it after pandas
8963
if [ x"$FULL_DEPS" == x"true" ]; then
90-
pip_install patsy
64+
pip install patsy
9165
# pick recent 0.5dev dec/2012
92-
pip_install git+git://github.com/statsmodels/statsmodels@c9062e43b8a5f7385537ca95#egg=statsmodels statsmodels
66+
pip install git+git://github.com/statsmodels/statsmodels@c9062e43b8a5f7385537ca95#egg=statsmodels
9367
fi;
9468

9569
# make sure the desired locale is generated
9670
if [ x"$LOCALE_OVERRIDE" != x"" ]; then
9771
# piggyback this build for plotting tests. oh boy.
98-
pip_install matplotlib;
72+
pip install $PIP_ARGS --use-mirrors matplotlib;
9973

10074
sudo locale-gen "$LOCALE_OVERRIDE"
10175
fi

ci/script.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ if [ x"$LOCALE_OVERRIDE" != x"" ]; then
1010
# also do slow tests here, especially plotting
1111
nosetests --exe -w /tmp -A "not network" pandas;
1212
exit
13-
elif [ x"$VBENCH" != x"true" ]; then
14-
# plain/FULL_DEPS
13+
fi
14+
15+
if [ x"$VBENCH" != x"true" ]; then
1516
nosetests --exe -w /tmp -A "not slow" pandas;
1617
exit
1718
fi
1819

19-
# if [ x"$VBENCH" == x"true" ]; then
20-
# python vb_suite/perf_HEAD.py;
21-
# exit
22-
# fi
20+
if [ x"$VBENCH" == x"true" ]; then
21+
python vb_suite/perf_HEAD.py;
22+
exit
23+
fi

0 commit comments

Comments
 (0)