travis: improve installation dependencies
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 02:13:03 +0000 (03:13 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 26 Jul 2020 10:55:10 +0000 (11:55 +0100)
- On Ubuntu add bison/flex dependencies for lex arithmetic, add
  libgoogle-perftools-dev so we can link against tcmalloc.
- Invoke pip3 just the once on macOS

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
ci/travis-install.sh

index 232ab6b10c3c74752ab413bbe0957af57ca23ead..ffcdd5d53251a79c7352a3dc609818506e726874 100755 (executable)
@@ -7,7 +7,8 @@ case "$TRAVIS_OS_NAME" in
            libaio-dev
            libcunit1
            libcunit1-dev
-           libgoogle-perftools4
+           libfl-dev
+           libgoogle-perftools-dev
            libibverbs-dev
            libiscsi-dev
            libnuma-dev
@@ -24,6 +25,8 @@ case "$TRAVIS_OS_NAME" in
        # Architecture-independent packages and packages for which we don't
        # care about the architecture.
        pkgs+=(
+           bison
+           flex
            python3
            python3-scipy
            python3-six
@@ -34,8 +37,7 @@ case "$TRAVIS_OS_NAME" in
     "osx")
        brew update >/dev/null 2>&1
        brew install cunit
-       pip3 install scipy
-       pip3 install six
+       pip3 install scipy six
        ;;
 esac