mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
* Don't try to install installed packages. * Test with any version of python3 on macOS. * move file and fix mode * ignore stderr too * remove extra set -e * no linux failures
17 lines
351 B
Bash
Executable file
17 lines
351 B
Bash
Executable file
#!/bin/bash -e
|
|
#
|
|
# 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
|