[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 - g++-multilib
# Python # Python
- python3 - python3
# PHP
- php-cli
- php-mbstring
# C# # C#
- mono-devel - mono-devel
- mono-mcs - mono-mcs
install: install:
# os-specific config # os-specific config
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
phpenv global 7.0;
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update; brew update;
brew install mono; brew install mono;
brew install php; brew install php;