Fix error: "add-apt-repository: command not found".

This commit is contained in:
Zach Borboa
2019-05-24 05:28:52 -07:00
parent c894feda9f
commit 130b7a3f37
+1
View File
@@ -46,6 +46,7 @@ export PHP_CURL_CLASS_TEST_MODE_ENABLED="yes"
if [[ "${TRAVIS_PHP_VERSION}" == "5.3" ]]; then
if ! [ -x "$(command -v add-apt-repository)" ]; then
$superuser apt-get install -y python-software-properties
$superuser apt-get install -y software-properties-common
fi
$superuser add-apt-repository -y ppa:nginx/development
$superuser apt-get update