From 9b875d934f801d207df08bc4a24cfbcbc0effc44 Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 8 Jun 2020 12:39:20 +0100 Subject: [PATCH] tests: using travis conditions to decide if front end tests should be run or not. (#4094) --- .travis.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index fdcedea19..63f3d30b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,16 @@ env: - secure: "gejXUAHYscbR6Bodw35XexpToqWkv2ifeECsbeEmjaLkYzXmUUNWJGknKSu7\nEUsSfQV8w+hxApr1Z+jNqk9aX3K1I4btL3cwk2trnNI8XRAvu1c1Iv60eerI\nkE82Rsd5lwUaMEh+/HoL8ztFCZamVndoNgX7HWp5J/NRZZMmh4g=" jobs: + allow_failures: + - if: repo = ether/etherpad-lite + # below might not be needed.. + env: SAUCE_EXECUTE=true + - name: "Test the Frontend" + install: + - "bin/installDeps.sh" + - "export GIT_HASH=$(git rev-parse --verify --short HEAD)" + script: + - "tests/frontend/travis/runner.sh" include: - name: "Run the Backend tests" install: @@ -31,12 +41,6 @@ jobs: - "cd src && npm install && cd -" script: - "tests/frontend/travis/runnerBackend.sh" - - name: "Test the Frontend" - install: - - "bin/installDeps.sh" - - "export GIT_HASH=$(git rev-parse --verify --short HEAD)" - script: - - "tests/frontend/travis/runner.sh" - name: "Test the Dockerfile" install: - "cd src && npm install && cd -"