diff --git a/.travis.yml b/.travis.yml index d8f18824b..a9ede4ae6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ os: linux -dist: xenial -sudo: required +dist: bionic before_install: -- sudo apt-get install -y git fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl quilt openssh-server dpkg looptools genometools software-properties-common +- sudo apt-get install -y git fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common - perl -v #- echo "yes" | sudo cpan -f -i Capture::Tiny diff --git a/travis.pl b/travis.pl index abcf39047..5cab615ec 100644 --- a/travis.pl +++ b/travis.pl @@ -327,10 +327,10 @@ sub install_xcat{ my @cmds = ("cd ./../../xcat-core && sudo ./mklocalrepo.sh", "sudo chmod 777 /etc/apt/sources.list", - "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep xenial main\" >> /etc/apt/sources.list", - "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep xenial main\" >> /etc/apt/sources.list", + "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", + "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", "sudo wget -q -O - \"http://xcat.org/files/xcat/repos/apt/apt.key\" | sudo apt-key add -", - "sudo apt-get -qq update"); + "sudo apt-get -qq --allow-insecure-repositories update"); my @output; foreach my $cmd (@cmds){ print "[install_xcat] running $cmd\n";