You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Ignore apt-get update errors in Travis CI.
Broken vendor packages have been causing builds to break due to an error on apt-get update. Ignore errors and proceed directory to apt-get install. It's possible that we'll try to reference an expired package version and get an error anyway, but that seems better than a guaranteed hard error.
This commit is contained in:
@@ -19,7 +19,8 @@ env:
|
||||
- PGB_CI="--vm=u12 test"
|
||||
|
||||
before_install:
|
||||
- sudo apt-get -qq update && sudo apt-get install libxml-checker-perl libdbd-pg-perl libyaml-libyaml-perl python-pip lcov libperl-dev
|
||||
- sudo apt-get -qq update || true
|
||||
- sudo apt-get install libxml-checker-perl libdbd-pg-perl libyaml-libyaml-perl python-pip lcov libperl-dev
|
||||
- |
|
||||
# Install & Configure AWS CLI
|
||||
pip install --upgrade --user awscli
|
||||
|
@@ -100,8 +100,8 @@ sub process
|
||||
$strConfig .=
|
||||
"\n" .
|
||||
"before_install:\n" .
|
||||
" - sudo apt-get -qq update && sudo apt-get install libxml-checker-perl libdbd-pg-perl libyaml-libyaml-perl python-pip" .
|
||||
" lcov libperl-dev\n" .
|
||||
" - sudo apt-get -qq update || true\n" .
|
||||
" - sudo apt-get install libxml-checker-perl libdbd-pg-perl libyaml-libyaml-perl python-pip lcov libperl-dev\n" .
|
||||
" - |\n" .
|
||||
" # Install & Configure AWS CLI\n" .
|
||||
" pip install --upgrade --user awscli\n" .
|
||||
|
Reference in New Issue
Block a user