travis: switch to ubuntu 18.04 and install more libraries
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 5 Oct 2019 14:18:38 +0000 (15:18 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sat, 21 Dec 2019 11:50:40 +0000 (11:50 +0000)
Also sort the package dependencies into alphabetical order to make it
easier to see what has changed in the future.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
.travis.yml

index b34264e34fcd417c4e2cc5e0c99950e527a3da38..77c31b776b45c810c5bbf00ef4e52ad11419ec6e 100644 (file)
@@ -1,4 +1,5 @@
 language: c
 language: c
+dist: bionic
 os:
   - linux
 compiler:
 os:
   - linux
 compiler:
@@ -31,7 +32,7 @@ matrix:
 before_install:
   - EXTRA_CFLAGS="-Werror"
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
 before_install:
   - EXTRA_CFLAGS="-Werror"
   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
-        pkgs=(libaio-dev libnuma-dev libz-dev librbd-dev libibverbs-dev librdmacm-dev libcunit1 libcunit1-dev);
+        pkgs=(libaio-dev libcunit1 libcunit1-dev libgoogle-perftools4 libibverbs-dev libiscsi-dev libnuma-dev librbd-dev librdmacm-dev libz-dev);
         if [[ "$BUILD_ARCH" == "x86" ]]; then
             pkgs=("${pkgs[@]/%/:i386}");
             pkgs+=(gcc-multilib python-scipy);
         if [[ "$BUILD_ARCH" == "x86" ]]; then
             pkgs=("${pkgs[@]/%/:i386}");
             pkgs+=(gcc-multilib python-scipy);