diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-06-04 21:24:46 -0700 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-06-05 20:19:17 -0700 |
commit | 1a050bb5de62dc15c9edf8c7625e71cb8abe4b1b (patch) | |
tree | 1dfe48464d47f99563f1ecda8857210a242fd624 /.travis-make-py24-virtualenv.sh | |
parent | fd78546183651fc47c2d3429d03bed0a4299d475 (diff) | |
download | numpy-1a050bb5de62dc15c9edf8c7625e71cb8abe4b1b.tar.gz |
Add .travis.yml for Travis CI (http://travis-ci.org/)
Diffstat (limited to '.travis-make-py24-virtualenv.sh')
-rwxr-xr-x | .travis-make-py24-virtualenv.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis-make-py24-virtualenv.sh b/.travis-make-py24-virtualenv.sh new file mode 100755 index 000000000..625f8b7b7 --- /dev/null +++ b/.travis-make-py24-virtualenv.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +VIRTENV=$1 + +set -x +set -e + +curl -O http://www.python.org/ftp/python/2.4.6/Python-2.4.6.tar.bz2 +tar xjf Python-2.4.6.tar.bz2 +cd Python-2.4.6 +cat >setup.cfg <<EOF +[build_ext] +library_dirs=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/ +EOF +./configure --prefix=$PWD/install +make +make install +virtualenv -p install/bin/python2.4 --distribute $VIRTENV |