Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2872bf7

Browse files
committed
TST: switch i386 build to python3.4 defaulting ubuntu 14.04
to do that fix a missing $DIST variable usage in the test script
1 parent b5c62f8 commit 2872bf7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ python:
99
matrix:
1010
include:
1111
- python: 3.3
12-
env: USE_CHROOT=1 ARCH=i386 DIST=saucy
12+
env: USE_CHROOT=1 ARCH=i386 DIST=trusty PYTHON=3.4
1313
- python: 3.2
1414
env: USE_DEBUG=1
1515
- python: 2.7

tools/travis-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ setup_chroot()
4343
sudo debootstrap --variant=buildd --include=fakeroot,build-essential --arch=$ARCH --foreign $DIST $DIR
4444
sudo chroot $DIR ./debootstrap/debootstrap --second-stage
4545
sudo rsync -a $TRAVIS_BUILD_DIR $DIR/
46-
echo deb http://archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse | sudo tee -a $DIR/etc/apt/sources.list
47-
echo deb http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse | sudo tee -a $DIR/etc/apt/sources.list
48-
echo deb http://security.ubuntu.com/ubuntu saucy-security main restricted universe multiverse | sudo tee -a $DIR/etc/apt/sources.list
46+
echo deb http://archive.ubuntu.com/ubuntu/ $DIST main restricted universe multiverse | sudo tee -a $DIR/etc/apt/sources.list
47+
echo deb http://archive.ubuntu.com/ubuntu/ $DIST-updates main restricted universe multiverse | sudo tee -a $DIR/etc/apt/sources.list
48+
echo deb http://security.ubuntu.com/ubuntu $DIST-security main restricted universe multiverse | sudo tee -a $DIR/etc/apt/sources.list
4949
sudo chroot $DIR bash -c "apt-get update"
5050
sudo chroot $DIR bash -c "apt-get install -qq -y --force-yes eatmydata"
5151
echo /usr/lib/libeatmydata/libeatmydata.so | sudo tee -a $DIR/etc/ld.so.preload

0 commit comments

Comments
 (0)