| 1 |
#!/bin/bash |
| 2 |
|
| 3 |
# Exit in case of an error, and show the steps |
| 4 |
set -ex |
| 5 |
|
| 6 |
# Travis recommends to run homebrew update |
| 7 |
brew update > /dev/null |
| 8 |
if [ "$QT_VERSION" -eq 5 ] ; then |
| 9 |
brew install poppler --with-qt5 |
| 10 |
else |
| 11 |
brew install poppler --with-qt |
| 12 |
fi |