drupal-starter
drupal-starter copied to clipboard
Separate Test & Deploy steps in Travis.
Context:
Sometimes during deployment, the build passes all tests but the deployment fails due to some issue in git, redis, etc. In such cases, to trigger the deployment, we need to re-run the whole test+deploy.
This will allow us to re-trigger deployment without re-running tests.
It was an optimization idea to save time. Initializing the project takes time (downloading Docker images, etc). I agree that in the bad case, it's the opposite effect, but anyways we need to execute tests for the sake of safety upon deploy, if we bundle it with deploy step, for the good scenario, we save time, I am not entirely convinced that we'd want this.