summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-02 16:53:22 -0600
committermo khan <mo.khan@gmail.com>2020-07-02 18:58:03 -0600
commitc1bfd5ea561286bb7ceb3ac7423099ab9758ed34 (patch)
treec64efa451723d6324a8f25efcce748aa94455014
parent11c7187a0b9c290437d90af2d53b4d06ae8f4232 (diff)
Specify the needs for each job
-rw-r--r--.gitlab/test.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 9ebb81d..ba09df2 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -16,6 +16,7 @@ size:
- echo $MAX_SIZE
- echo $CURRENT_SIZE
- test "$MAX_SIZE" -gt "$CURRENT_SIZE"
+ needs: ['build-docker-image']
.rspec:
stage: test
@@ -38,6 +39,7 @@ size:
reports:
cobertura: coverage/coverage.xml
junit: rspec.xml
+ needs: ['build-docker-image']
unit:
extends: .rspec
@@ -48,41 +50,53 @@ integration-c:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/c
+ needs:
+ - build-docker-image
+ - build-conan-pkg
integration-dotnet:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/dotnet
+ needs: ['build-docker-image']
integration-go:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/go
+ needs: ['build-docker-image']
integration-java:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/java
+ needs:
+ - build-docker-image
+ - build-mvn-pkg
integration-js:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/js
+ needs: ['build-docker-image']
integration-php:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/php
+ needs: ['build-docker-image']
integration-python:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/python
+ needs: ['build-docker-image']
integration-ruby:
extends: .rspec
variables:
RSPEC_DIR: spec/integration/ruby
+ needs: ['build-docker-image']
.functional:
stage: test