Skip to content

Commit

Permalink
Merge pull request #1424 from hennevogel/travis-fixes
Browse files Browse the repository at this point in the history
[ci] apt-get update all package lists
  • Loading branch information
bgeuken committed Dec 3, 2015
2 parents 4ff766a + cd179c9 commit 7dbc97e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dist/ci/obs_testsuite_travis_install.sh
Expand Up @@ -4,10 +4,16 @@
# Be verbose and fail script on the first error
set -xe

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C5C219E7

# Install updates from our own repository
sudo chmod a+w /etc/apt/sources.list.d
echo 'deb http://download.opensuse.org/repositories/OBS:/Server:/Unstable/xUbuntu_12.04 /' > /etc/apt/sources.list.d/opensuse.list
sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/opensuse.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"

# We could use this to only update the package list from the OBS,
# but apprently this is not possible anymore. So we update all package lists.
# sudo apt-get update -o APT::Get::List-Cleanup "false" -o Dir::Etc::sourcelist "/etc/apt/sources.list.d/opensuse.list" -o Dir::Etc::sourceparts "";
sudo apt-get update

# Install the dependencies of the backend
sudo apt-get install --force-yes travis-deps libxml-parser-perl libfile-sync-perl python-rpm python-urlgrabber python-sqlitecachec python-libxml2 createrepo libbssolv-perl sphinxsearch libjson-xs-perl libxml-simple-perl libgd-gd2-perl

0 comments on commit 7dbc97e

Please sign in to comment.