From: Dan Fandrich Date: Tue, 9 Apr 2019 12:38:04 +0000 (+0200) Subject: Added Travis builds on Ubuntu xenial and bionic. X-Git-Tag: libexif-0_6_22-release~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc2067904c447e7571495c5642f60a340be56773;p=platform%2Fupstream%2Flibexif.git Added Travis builds on Ubuntu xenial and bionic. --- diff --git a/.travis.yml b/.travis.yml index a1f2094..7c4766d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ git: depth: 1 # Install autopoint on Ubuntu (needed for gettext) +# This is ignored on bionic for some reason (see below). addons: apt: packages: @@ -33,6 +34,22 @@ os: matrix: include: + - env: CONFIG=normal DIST=bionic + os: linux + dist: bionic + compiler: gcc + - env: CONFIG=normal DIST=bionic + os: linux + dist: bionic + compiler: clang + - env: CONFIG=normal DIST=xenial + os: linux + dist: xenial + compiler: gcc + - env: CONFIG=normal DIST=xenial + os: linux + dist: xenial + compiler: clang - env: CONFIG=clang6 os: linux compiler: clang @@ -110,6 +127,10 @@ matrix: directories: - $HOME/failmalloc +before_install: + # The apt addons section is ignored on bionic for some reason + - if [ "${DIST}" = "bionic" ] ; then sudo apt-get install -y autopoint; fi + install: - | if [ "$CONFIG" = "coverage" ] ; then