Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fail early if one of the scripts fail

Oliver Günther34929399bd0c
diff --git a/.travis.yml b/.travis.yml
index fce929f68c4..24fe9f9e98e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,11 +79,9 @@ jobs:
- stage: prepare cache
name: 'Prepare cache'
script:
- # Run the dangerfile
- - bash script/ci/dangerfile.sh
- # Set up caching
- - bash script/ci/db_setup.sh
- - bash script/ci/cache_prepare.sh
+ # Run the dangerfile and set up caching
+ # Run in one command to fail early
+ - bash script/ci/dangerfile.sh && bash script/ci/db_setup.sh && bash script/ci/cache_prepare.sh
- stage: test
name: 'npm'
script: