diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-04 17:18:30 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-04 17:18:30 -0800 |
commit | 6a1883545efdcfbcc03583cc682e11051128a766 (patch) | |
tree | 38779a4f80f9822c1325290049323734f4691c2c | |
parent | 6c0e43f1edd43e75bf1b341c87fee066a39ba393 (diff) | |
download | cryptography-6a1883545efdcfbcc03583cc682e11051128a766.tar.gz cryptography-6a1883545efdcfbcc03583cc682e11051128a766.tar.bz2 cryptography-6a1883545efdcfbcc03583cc682e11051128a766.zip |
Fix for OS X
-rwxr-xr-x | .travis/install.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index b6dd5acc..c39b5309 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -16,9 +16,14 @@ if [[ "${OPENSSL}" == "0.9.8" ]]; then fi fi -if [[ "${TOX_ENV}" == "docs" && "$(name -s)" != "Darwin" ]]; then - sudo apt-get -y update - sudo apt-get install libenchant-dev +if [[ "${TOX_ENV}" == "docs"]]; then + if [[ "$(uname -s)" == "Darwin" ]]; then + brew update + brew install enchant + else + sudo apt-get -y update + sudo apt-get install libenchant-dev + fi fi if [[ "$(uname -s)" == "Darwin" ]]; then |