From 39b667404b83d650f545dfb760eb23c5fb5bc259 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Wed, 4 Dec 2019 12:06:17 +0000 Subject: [PATCH] refactored travis build scripts for linux and osx work --- .travis.yml => .travis.yml.off | 3 ++- buildScripts/{doItAllTravis => travisLinuxDoItAll} | 2 +- buildScripts/travisOsxDoItAll | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) rename .travis.yml => .travis.yml.off (97%) rename buildScripts/{doItAllTravis => travisLinuxDoItAll} (93%) create mode 100644 buildScripts/travisOsxDoItAll diff --git a/.travis.yml b/.travis.yml.off similarity index 97% rename from .travis.yml rename to .travis.yml.off index bb945b8..733a793 100644 --- a/.travis.yml +++ b/.travis.yml.off @@ -82,7 +82,7 @@ jobs: # services: # - docker # dist: bionic -# script: ./buildScripts/doItAllTravis +# script: ./buildScripts/travisLinuxDoItAll - stage: build-osx os: - osx @@ -95,6 +95,7 @@ jobs: script: - pwd - ls + - pdf2htmlEX --version # - stage: test # os: # - linux diff --git a/buildScripts/doItAllTravis b/buildScripts/travisLinuxDoItAll similarity index 93% rename from buildScripts/doItAllTravis rename to buildScripts/travisLinuxDoItAll index 821583f..1abfed3 100755 --- a/buildScripts/doItAllTravis +++ b/buildScripts/travisLinuxDoItAll @@ -1,6 +1,6 @@ #!/bin/bash -# This bash script builds everyting on an TravisCI worker +# This bash script builds everyting on an TravisCI Linux (Ubunutu) worker export UNATTENDED="--assume-yes" export MAKE_PARALLEL="-j $(nproc)" diff --git a/buildScripts/travisOsxDoItAll b/buildScripts/travisOsxDoItAll new file mode 100644 index 0000000..5614704 --- /dev/null +++ b/buildScripts/travisOsxDoItAll @@ -0,0 +1,9 @@ +#!/bin/bash + +# This bash script builds everyting on an TravisCI Mac OSx worker + +rvm use 2.6 --install --binary +brew tap pdf2htmlEX/homebrew-brewTap +brew update +brew install pdf2htmlex-new +rvm use $TRAVIS_RUBY_VERSION # optionally, switch back to the Ruby version you need.