[TravisCI] use php from apt

This commit is contained in:
Andy Li
2019-12-04 03:48:09 +08:00
parent e2f4d1481e
commit 2504c96927
+4 -3
View File
@@ -19,15 +19,16 @@ addons:
- g++-multilib
# Python
- python3
# PHP
- php-cli
- php-mbstring
# C#
- mono-devel
- mono-mcs
install:
# os-specific config
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
phpenv global 7.0;
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update;
brew install mono;
brew install php;