don't set SSL_CERT_FILE for OSX

This commit is contained in:
Jorge Aparicio 2016-12-11 15:26:18 -05:00
parent c9155e3c36
commit 6c4647ef11
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ install:
script:
# work around rust-lang/cargo#3340
- export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
- test "$TRAVIS_OS_NAME" = "osx" ||
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
- cargo generate-lockfile
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
sudo apt-get remove -y qemu-user-static &&