mirror of
https://github.com/SOCI/soci.git
synced 2026-05-02 09:09:39 -05:00
277be5ffb9
Travis hosts use PostgreSQL PPA which is problematic for a few reasons:
1. We don't actually test in the same environment as most SOCI users,
who would just use the standard Ubuntu repositories and not this PPA.
2. The environment is not even stable, e.g. recently the version of
psqlodbc has changed from 12 to 13 in Travis builds, breaking them
due to new leak reports from ASAN.
3. We don't have debug symbols for these packages as the PPA doesn't
provide them and the ones from Ubuntu repositories don't match. This
prevents us from even creating precise suppressions for ASAN.
Solve all these problems at once by just sticking to the stock Xenial
version, which doesn't even trigger any leak reports, so there is
nothing to suppress any more and the changes of 457ec97e (Suppress
reports about memory leaks in PostgreSQL ODBC test, 2020-03-29) can be
reverted.
12 lines
269 B
Bash
Executable File
12 lines
269 B
Bash
Executable File
#!/bin/bash -e
|
|
# Install ODBC libraries for SOCI at travis-ci.org
|
|
#
|
|
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
|
|
#
|
|
source ${TRAVIS_BUILD_DIR}/scripts/travis/common.sh
|
|
|
|
sudo apt-get install -qq \
|
|
tar bzip2 \
|
|
unixodbc-dev \
|
|
odbc-postgresql/xenial
|