Travis: Use default install location on macOS
After this change `pkg-config` is able to detect Elektra on macOS. This
means that tests such as `testscr_check_gen` will now run actual test
code, and not exit successfully after they failed to locate the
installed version of Elektra.
@@ -80,7 +80,8 @@ before_install:
#
before_script:
- cd $TRAVIS_BUILD_DIR/..
- - INSTALL_DIR="$PWD/install"
+ - >
+ [[ "$TRAVIS_OS_NAME" == "linux" ]] && INSTALL_DIR="$PWD/install" || INSTALL_DIR="/usr/local"
- SYSTEM_DIR="$PWD/kdbsystem"
- mkdir build && cd build
- CMAKE_OPT=()
