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

57 lines
1.6 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 "-------------------------------------------------"
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 python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"')
echo $python2Version
2019-12-06 14:50:02 +00:00
echo "-------------------------------------------------"
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
which python
ls -la $(which python)
python --version
2019-12-06 14:50:02 +00:00
echo "-------------------------------------------------"
2019-12-06 17:12:59 +00:00
#brew install -v pdf2htmlex-new
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"