diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2016-04-02 04:17:09 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2016-04-02 04:17:09 -0700 |
commit | 5c34dc8e8cc510591c61d1abed4155ce32b7701e (patch) | |
tree | 42601a44714937c8f1be9594b76e648f762048b1 | |
parent | ecd101ea47d280c352c9aa3aa5a317d7a69c8842 (diff) | |
download | pycrypto-5c34dc8e8cc510591c61d1abed4155ce32b7701e.tar.gz |
sha256sum not found?
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index b93778d..0b121de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,6 +59,13 @@ before_install: - if [ "$(type -t deactivate)" = "function" ] ; then deactivate ; fi # Create pyenv cache directory if it doesn't already exist. - mkdir -p ~/.pyenv/cache + # Create alias for sha256sum + - |- + if [ "$TRAVIS_OS_NAME" = "osx" ] ; then + brew update + brew outdated coreutils || brew upgrade coreutils + alias sha256sum=gsha256sum + fi # Download and verify pyenv, or use cached version if available. - pyenv_uri=https://github.com/yyuu/pyenv/archive/v20160310.tar.gz - pyenv_tarball="$HOME/.pyenv/cache/pyenv-$( basename "$pyenv_uri" )" |