1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-02 16:25:41 +00:00
pdf2htmlEX/buildScripts/travisHomeBrewDoItAll

70 lines
1.9 KiB
Plaintext
Raw Normal View History

#!/bin/bash
# This bash script builds everyting on an TravisCI Mac OSx worker
2019-12-04 13:26:26 +00:00
# See:
# https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images
# For details on obtaining/using the correct ruby version for homebrew.
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"
brew tap pdf2htmlEX/homebrew-brewTap
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"
brew update
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"
brew install llvm
2019-12-06 14:50:02 +00:00
brew install -v python@2
2019-12-06 17:12:59 +00:00
brew install jq
2019-12-06 14:50:02 +00:00
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
export llvmVersion=$(brew info --json=v1 llvm | jq '.[].installed[].version' | tr -d '"')
echo $llvmVersion
export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"')
echo $python2Version
2019-12-06 14:50:02 +00:00
echo "-------------------------------------------------"
brew info llvm
brew switch llvm $llvmVersion
2019-12-06 17:12:59 +00:00
brew info python@2
brew switch python@2 $python2Version
2019-12-06 14:50:02 +00:00
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
ls -la $(which clang)
which python
ls -la $(which python)
python --version
2019-12-06 14:50:02 +00:00
echo "-------------------------------------------------"
brew install -v pdf2htmlex-new
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
ls -la $(which clang)
which python
ls -la $(which python)
python --version
which pdf2htmlEX
ls -la $(which pdf2htmlEX)
pdf2htmlEX --version
echo "-------------------------------------------------"