mirror of
https://github.com/jlengrand/asdf-php.git
synced 2026-03-10 08:01:22 +00:00
Fix travis config and make untaring less verbosing.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user