diff --git a/.travis.yml.off b/.travis.yml similarity index 96% rename from .travis.yml.off rename to .travis.yml index 733a793..089f0e7 100644 --- a/.travis.yml.off +++ b/.travis.yml @@ -89,12 +89,8 @@ jobs: addons: homebrew: update: true - taps: pdf2htmlEX/homebrew-brewTap - packages: - - pdf2htmlex-new script: - - pwd - - ls + - ./buildScripts/travisHomeBrewDoItAll - pdf2htmlEX --version # - stage: test # os: diff --git a/buildScripts/travisOSxDoItAll b/buildScripts/travisHomeBrewDoItAll similarity index 58% rename from buildScripts/travisOSxDoItAll rename to buildScripts/travisHomeBrewDoItAll index 5614704..e3b7326 100755 --- a/buildScripts/travisOSxDoItAll +++ b/buildScripts/travisHomeBrewDoItAll @@ -2,6 +2,10 @@ # This bash script builds everyting on an TravisCI Mac OSx worker +# 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. + rvm use 2.6 --install --binary brew tap pdf2htmlEX/homebrew-brewTap brew update diff --git a/buildScripts/travisLinuxBrewDoItAll b/buildScripts/travisLinuxBrewDoItAll new file mode 100755 index 0000000..e105eb9 --- /dev/null +++ b/buildScripts/travisLinuxBrewDoItAll @@ -0,0 +1,14 @@ +#!/bin/bash + +# This bash script builds everyting on an TravisCI Mac OSx worker + +# 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. + +sudo apt-get update +sudo apt-get install gcc-5 # many of the linuxBrew bottles are compiled with gcc-5 + +brew tap pdf2htmlEX/homebrew-brewTap +brew update +brew install pdf2htmlex-new -s --cc=gcc-5