Update travis.yml to match README information for OSX

This commit is contained in:
Choong Wei Tjeng
2017-08-21 19:35:12 +02:00
parent 6835d73d06
commit 28541097d3

View File

@@ -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