aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-03 19:50:29 +0000
committerMichael Mann <mmann78@netscape.net>2017-07-05 19:14:44 +0000
commit05b028abde709e5621cb1e03f7705e77b76e0fa9 (patch)
tree581d1fd9c3ba4e5493d5d02fb3c12e0cb8f169ed /.travis.yml
parentb1c993df0f68a2f172448ddc87391a27bf8a9057 (diff)
travis: fix build with osx (macOS)
Like say on -dev mailing https://www.wireshark.org/lists/wireshark-dev/201706/msg00113.html and also recommanded when install Qt via homebrew (brew install qt) [...] If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.bash_profile Fix following cmake error : - Found python module asn2wrs: /Users/travis/build/alagoutte/wireshark/tools/asn2wrs.py CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message): The imported target "Qt5::Core" references the file "/usr/local/.//mkspecs/macx-clang" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake" but not all the files it references. Change-Id: I47137109c6ddb30de653e424d9baef4a340faad3 Reviewed-on: https://code.wireshark.org/review/22512 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 59441f71cb..1300c3751f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,6 +29,7 @@ before_install:
- $CC --version
# macos
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then ./tools/macos-setup-brew.sh; fi
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then PATH=/usr/local/opt/qt5/bin:$PATH; fi
# linux
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi