From c8fb950ae8a5aeb89518f388eafbf9e133b44e3f Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Wed, 4 Dec 2019 13:26:26 +0000 Subject: [PATCH] updated travis homebrew build script --- .travis.yml.off => .travis.yml | 6 +----- .../{travisOSxDoItAll => travisHomeBrewDoItAll} | 4 ++++ buildScripts/travisLinuxBrewDoItAll | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) rename .travis.yml.off => .travis.yml (96%) rename buildScripts/{travisOSxDoItAll => travisHomeBrewDoItAll} (58%) create mode 100755 buildScripts/travisLinuxBrewDoItAll 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