Ofek Lev 6 years ago
parent
commit
eae3d03374
  1. 2
      .travis/install.sh

2
.travis/install.sh

@ -71,7 +71,7 @@ if [[ $TRAVIS_OS_NAME == "osx" ]]; then
sed -i "" "s#@PYVER@#${TRAVIS_PYTHON_VERSION}#g" install_certificates.command
sed -i "" 's#"certifi"#"./2018.04.16.tar.gz"#' install_certificates.command
sed -i "" 's#print(" -- creating symlink to certifi certificate bundle")#print(" -- creating symlink to certifi certificate bundle", relpath_to_certifi_cafile, openssl_cafile, openssl_dir)#' install_certificates.command
sed -i "" 's#os.path.relpath(certifi.where())#os.path.relpath(certifi.where(), openssl_dir)#' install_certificates.command
sed -i "" 's#os.path.relpath(certifi.where())#certifi.where())#' install_certificates.command
wget https://github.com/certifi/python-certifi/archive/2018.04.16.tar.gz
sudo cp 2018.04.16.tar.gz "/Applications/Python ${TRAVIS_PYTHON_VERSION}/2018.04.16.tar.gz"
sudo cp install_certificates.command "/Applications/Python ${TRAVIS_PYTHON_VERSION}/Install Certificates.command"

Loading…
Cancel
Save