Skip to content

Commit ed1e32e

Browse files
authored
ci(macos): fix macos php installation (#257)
1 parent 43d7766 commit ed1e32e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646
before_install:
4747
# Fix ruby error https://github.com/Homebrew/brew/issues/3299
4848
- brew update
49-
- brew tap homebrew/homebrew-php
50-
- brew install php71
51-
- brew install homebrew/php/php71-xdebug
52-
- mkdir -p /usr/local/etc/php/7.1/conf.d
53-
- cp travis-php.ini /usr/local/etc/php/7.1/conf.d/
49+
- brew install php@7.0
50+
- brew link --force --overwrite php@7.0
51+
- pecl install xdebug-$XDEBUG_VERSION
52+
- mkdir -p /usr/local/etc/php/7.0/conf.d
53+
- cp travis-php.ini /usr/local/etc/php/7.0/conf.d/
5454
- git clone --depth 1 https://github.com/creationix/nvm.git ./.nvm
5555
- source ./.nvm/nvm.sh
5656
- nvm install $NODE_VERSION

0 commit comments

Comments
 (0)