2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

travis: fix python2 package installation

For python2/python3 compatibility install additional (python2-future)
and different (python2-ipaddress) packages during test.

Also switch Fedora tests to explicitly install versioned python packages
(python2-* instead of python-*).

Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Adrian Reber
2018-05-16 06:20:26 +00:00
committed by Pavel Emelyanov
parent 767534f10f
commit 553dd546b5
6 changed files with 21 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
set -x -e
TRAVIS_PKGS="protobuf-c-compiler libprotobuf-c0-dev libaio-dev
libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev
libprotobuf-dev protobuf-compiler libcap-dev
libnl-3-dev gcc-multilib gdb bash python-protobuf
libnet-dev util-linux asciidoc xmlto libnl-route-3-dev"
@@ -45,7 +45,9 @@ travis_prep () {
apt-get update -qq
apt-get install -qq --no-install-recommends $TRAVIS_PKGS
pip install junit-xml
# travis is based on 14.04 and that does not have python
# packages for future and ipaddress (16.04 has those packages)
pip install junit-xml future ipaddress
chmod a+x $HOME
}