1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

corrected travis homebrew to remove python 2

This commit is contained in:
Stephen Gaito 2019-12-13 21:54:01 +00:00
parent 34da5a01a0
commit 23830c24f0

View File

@ -26,23 +26,23 @@ echo $LDFLAGS
echo $CPPFLAGS echo $CPPFLAGS
which clang which clang
echo "-------------------------------------------------" echo "-------------------------------------------------"
brew install llvm #brew install llvm
brew install -v python@2 #brew install -v python@2
brew install jq #brew install jq
echo "-------------------------------------------------" echo "-------------------------------------------------"
echo $PATH echo $PATH
echo $LDFLAGS echo $LDFLAGS
echo $CPPFLAGS echo $CPPFLAGS
which clang which clang
export llvmVersion=$(brew info --json=v1 llvm | jq '.[].installed[].version' | tr -d '"') #export llvmVersion=$(brew info --json=v1 llvm | jq '.[].installed[].version' | tr -d '"')
echo $llvmVersion echo $llvmVersion
export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"') #export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"')
echo $python2Version echo $python2Version
echo "-------------------------------------------------" echo "-------------------------------------------------"
brew info llvm #brew info llvm
brew switch llvm $llvmVersion #brew switch llvm $llvmVersion
brew info python@2 #brew info python@2
brew switch python@2 $python2Version #brew switch python@2 $python2Version
echo "-------------------------------------------------" echo "-------------------------------------------------"
echo $PATH echo $PATH
echo $LDFLAGS echo $LDFLAGS