Merge branch 'features/tests'

This commit is contained in:
Óscar de Arriba
2016-10-16 19:46:43 +02:00
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
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" == "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 libsslcommon2-dev libreadline-dev libedit-dev zlib1g-dev libicu-dev libxml2-dev gettext bison libmysqlclient-dev libpq-dev -y; fi
before_script:
- git clone https://github.com/asdf-vm/asdf.git
- . asdf/asdf.sh

View File

@@ -22,7 +22,7 @@ install_php() {
# working directory.
(
cd $(dirname $source_path)
tar -zxvf $source_path || exit 1
tar -zxf $source_path || exit 1
cd $(untar_path $install_type $version $tmp_download_dir)