From 28541097d325b2a81bfd1a01ae156593045c1a22 Mon Sep 17 00:00:00 2001 From: Choong Wei Tjeng Date: Mon, 21 Aug 2017 19:35:12 +0200 Subject: [PATCH] Update travis.yml to match README information for OSX --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1fcf82e..e250d0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,11 +2,10 @@ language: c script: asdf plugin-test php https://github.com/odarriba/asdf-php.git before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi -- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install freetype bison27 gettext - icu4c jpeg libpng openssl readline homebrew/dupes/zlib curl; fi -- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force bison27; fi -- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force icu4c; fi -- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PHP_CONFIGURE_OPTIONS='--disable-gettext'; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install freetype bison bison27 gettext + icu4c jpeg libiconv libpng openssl readline homebrew/dupes/zlib curl; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PHP_CONFIGURE_OPTIONS='--with-iconv=$(brew --prefix libiconv) --with-openssl=$(brew --prefix openssl)'; fi +- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH='/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin:/usr/local/opt/bison/bin:$PATH'; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install curl build-essential autoconf libjpeg-dev libpng12-dev openssl libssl-dev libcurl4-openssl-dev pkg-config