Skip to content

Commit 0e3f856

Browse files
author
y-p
committed
BLD: Accommodate changes in latest travis-ci image update
1 parent f014b01 commit 0e3f856

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: python
33
python:
44
- 2.6
55
- 2.7
6-
- 3.1 # travis will soon EOL this
6+
# - 3.1 # travis EOL
77
- 3.2
88
- 3.3
99

@@ -45,8 +45,10 @@ before_install:
4545
install:
4646
- echo "Waldo2"
4747
- ci/install.sh
48-
- ci/print_versions.py # not including stats
4948

5049
script:
5150
- echo "Waldo3"
5251
- ci/script.sh
52+
53+
after_script:
54+
- ci/print_versions.py

ci/before_install.sh

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ fi
99

1010
sudo apt-get update $APT_ARGS # run apt-get update for all versions
1111

12-
# hack for broken 3.3 env
13-
if [ x"$VIRTUAL_ENV" == x"" ]; then
14-
VIRTUAL_ENV=~/virtualenv/python$TRAVIS_PYTHON_VERSION_with_system_site_packages;
15-
fi
12+
# # hack for broken 3.3 env
13+
# if [ x"$VIRTUAL_ENV" == x"" ]; then
14+
# VIRTUAL_ENV=~/virtualenv/python$TRAVIS_PYTHON_VERSION_with_system_site_packages;
15+
# fi
1616

17-
# we only recreate the virtualenv for 3.x
18-
# since the "Detach bug" only affects python3
19-
# and travis has numpy preinstalled on 2.x which is quicker
20-
_VENV=$VIRTUAL_ENV # save it
21-
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ] ; then
22-
deactivate # pop out of any venv
23-
sudo pip install virtualenv==1.8.4 --upgrade
24-
sudo apt-get install $APT_ARGS python3.3 python3.3-dev
25-
sudo rm -Rf $_VENV
26-
virtualenv -p python$TRAVIS_PYTHON_VERSION $_VENV --system-site-packages;
27-
source $_VENV/bin/activate
28-
fi
17+
# # we only recreate the virtualenv for 3.x
18+
# # since the "Detach bug" only affects python3
19+
# # and travis has numpy preinstalled on 2.x which is quicker
20+
# _VENV=$VIRTUAL_ENV # save it
21+
# if [ ${TRAVIS_PYTHON_VERSION:0:1} == "3" ] ; then
22+
# deactivate # pop out of any venv
23+
# sudo pip install virtualenv==1.8.4 --upgrade
24+
# sudo apt-get install $APT_ARGS python3.3 python3.3-dev
25+
# sudo rm -Rf $_VENV
26+
# virtualenv -p python$TRAVIS_PYTHON_VERSION $_VENV --system-site-packages;
27+
# source $_VENV/bin/activate
28+
# fi

ci/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ] || \
2222
[ ${TRAVIS_PYTHON_VERSION} == "3.1" ] || \
2323
[ ${TRAVIS_PYTHON_VERSION} == "3.2" ]; then
24-
pip $PIP_ARGS install numpy; #https://github.com/y-p/numpy/archive/1.6.2_with_travis_fix.tar.gz;
24+
pip $PIP_ARGS install numpy;
2525
else
2626
pip $PIP_ARGS install https://github.com/numpy/numpy/archive/v1.7.0b2.tar.gz;
2727
fi

0 commit comments

Comments
 (0)