mirror of
https://github.com/certbot/certbot.git
synced 2026-06-13 18:50:20 -04:00
17 lines
352 B
Bash
Executable file
17 lines
352 B
Bash
Executable file
#!/bin/bash -ex
|
|
#
|
|
# Set up the test environment for macOS on Travis.
|
|
|
|
# Install the given package with brew if it's not already installed.
|
|
brew_install() {
|
|
if ! brew list "$1" > /dev/null 2>&1; then
|
|
brew install "$1"
|
|
fi
|
|
}
|
|
|
|
brew_install augeas
|
|
brew_install python
|
|
brew_install python3
|
|
|
|
# Ensure we use python from brew.
|
|
brew link python
|