Skip to content

Commit

Permalink
Installs reprozip in 2.7 venv
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Dec 3, 2014
1 parent fb825bb commit 8177134
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ in
if [ "$TEST_MODE" = "coverage_c" ]; then
export CFLAGS="-fprofile-arcs -ftest-coverage"
fi
if [ $TRAVIS_PYTHON_VERSION = "2.6" ]; then
run_lines<<'EOF'
virtualenv -p python2.7 /tmp/rpz2.7
/tmp/rpz2.7/bin/pip install 'git+https://github.com/remram44/rpaths.git#egg=rpaths'
cd reprozip && python setup.py install
EOF
export REPROZIP_PYTHON=/tmp/rpz2.7/bin/python
fi
run_lines<<'EOF'
sudo apt-get update -qq
sudo apt-get install -qq libc6-dev-i386 gcc-multilib
Expand Down
1 change: 0 additions & 1 deletion .travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ case "$TEST_MODE"
in
run_program|coverage_c)
export PYTHONUNBUFFERED=1
if [ $TRAVIS_PYTHON_VERSION = "2.6" ]; then export REPROZIP_PYTHON=/usr/bin/python2.7; fi
python tests
;;
coverage_py)
Expand Down

0 comments on commit 8177134

Please sign in to comment.