Skip to content

Commit 130b7a3

Browse files
committed
Fix error: "add-apt-repository: command not found".
1 parent c894fed commit 130b7a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/before_script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export PHP_CURL_CLASS_TEST_MODE_ENABLED="yes"
4646
if [[ "${TRAVIS_PHP_VERSION}" == "5.3" ]]; then
4747
if ! [ -x "$(command -v add-apt-repository)" ]; then
4848
$superuser apt-get install -y python-software-properties
49+
$superuser apt-get install -y software-properties-common
4950
fi
5051
$superuser add-apt-repository -y ppa:nginx/development
5152
$superuser apt-get update

0 commit comments

Comments
 (0)