From 939075cc3a14180f282ab6f001adb0596a082e97 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Wed, 3 Jun 2020 14:54:10 +0100 Subject: [PATCH] added testScript to run local tests --- .travis.yml | 8 ++++---- testScripts/doItAll | 0 testScripts/doItAllTravis | 0 testScripts/runLocalTests | 16 ++++++++++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) mode change 100644 => 100755 testScripts/doItAll mode change 100644 => 100755 testScripts/doItAllTravis create mode 100755 testScripts/runLocalTests diff --git a/.travis.yml b/.travis.yml index 48580d3..af335ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,10 +25,10 @@ jobs: # - docker dist: bionic script: ./buildScripts/travisLinuxDoItAll -# - stage: test -# os: -# - linux -# script: ./testScripts/doItAllTravis + - stage: test + os: + - linux + script: ./testScripts/runLocalTests #deploy: # provider: releases # api_key: diff --git a/testScripts/doItAll b/testScripts/doItAll old mode 100644 new mode 100755 diff --git a/testScripts/doItAllTravis b/testScripts/doItAllTravis old mode 100644 new mode 100755 diff --git a/testScripts/runLocalTests b/testScripts/runLocalTests new file mode 100755 index 0000000..0b2a6a4 --- /dev/null +++ b/testScripts/runLocalTests @@ -0,0 +1,16 @@ +#!/bin/bash + +set -ev + +# This bash script runs the pdf2htmlEX tests + +cd pdf2htmlEX/test + +# The following is only needed for the local browser tests +# +# ./installAutomaticTestSoftware + +./runLocalTests + +# ./runLocalBrowserTests +