diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2016-04-02 04:20:29 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2016-04-02 04:20:29 -0700 |
commit | 3948f59f166d45a352999f78d7a719e837abc9f5 (patch) | |
tree | 48d756f09f1dfdf084928497ed2982b2596bf55e | |
parent | 5c34dc8e8cc510591c61d1abed4155ce32b7701e (diff) | |
download | pycrypto-3948f59f166d45a352999f78d7a719e837abc9f5.tar.gz |
testing
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 0b121de..79365f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,15 +62,19 @@ before_install: # Create alias for sha256sum - |- if [ "$TRAVIS_OS_NAME" = "osx" ] ; then + gsha256sum || echo "NO gsha256sum" + sha256sum || echo "NO sha256sum" brew update - brew outdated coreutils || brew upgrade coreutils - alias sha256sum=gsha256sum + brew install coreutils + #alias sha256sum=gsha256sum + gsha256sum || echo "NO gsha256sum" + sha256sum || echo "NO sha256sum" 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" )" - - echo "886e386110bc24e4bfdd560bff0b22db34627fe4be203eacd28ca9e9c2491fcf *${pyenv_tarball}" | sha256sum -c - >/dev/null 2>&1 || wget -O"$pyenv_tarball" -c "$pyenv_uri" - - echo "886e386110bc24e4bfdd560bff0b22db34627fe4be203eacd28ca9e9c2491fcf *${pyenv_tarball}" | sha256sum -c - + - echo "886e386110bc24e4bfdd560bff0b22db34627fe4be203eacd28ca9e9c2491fcf *${pyenv_tarball}" | gsha256sum -c - >/dev/null 2>&1 || wget -O"$pyenv_tarball" -c "$pyenv_uri" + - echo "886e386110bc24e4bfdd560bff0b22db34627fe4be203eacd28ca9e9c2491fcf *${pyenv_tarball}" | gsha256sum -c - # Install pyenv into ~/.pyenv and load it - tar --strip-components=1 -C ~/.pyenv -xvzf "${pyenv_tarball}" - export PATH=~/.pyenv/bin:$PATH |