]> granicus.if.org Git - recode/commitdiff
.travis.yml: macOS: make keg-only formulæ available to the build
authorReuben Thomas <rrt@sc3d.org>
Sat, 27 Jan 2018 18:28:23 +0000 (18:28 +0000)
committerReuben Thomas <rrt@sc3d.org>
Sun, 28 Jan 2018 22:41:23 +0000 (22:41 +0000)
.travis.yml

index 9c2c4ed10be2f619547f828041d2d6035fc6b99c..ef8c54a62f84c6bc9b315bca9ce83aff9610af9e 100644 (file)
@@ -39,8 +39,11 @@ matrix:
             - [g++-6]
 
 before_install:
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update          ; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python cython flex help2man texinfo valgrind ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cython flex help2man texinfo valgrind ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/cython/bin:/usr/local/opt/flex/bin:/usr/local/opt/texinfo/bin:$PATH" ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LDFLAGS="-L/usr/local/opt/flex/lib -L/usr/local/opt/texinfo/lib" ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CPPFLAGS="-I/usr/local/opt/flex/include" ; fi
 
 # Need gettext 0.19, not in trusty; xenial doesn’t seem to work well yet on Travis
 install: