tests: using travis conditions to decide if front end tests should be run or not. (#4094)

pull/4096/head^2
John McLear 2020-06-08 12:39:20 +01:00 committed by GitHub
parent 0158a4fa02
commit 9b875d934f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 6 deletions

View File

@ -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 -"