tests: using travis conditions to decide if front end tests should be run or not. (#4094)
parent
0158a4fa02
commit
9b875d934f
16
.travis.yml
16
.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 -"
|
||||
|
|
Loading…
Reference in New Issue