diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8347a2a..02c188c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,12 +48,29 @@ container_scanning: - results/ when: always +size: + image: docker:stable + stage: test + allow_failure: true # temporary until we can shrink the image size. + timeout: 1 minute + script: + - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - docker pull $TMP_IMAGE + unit: stage: test script: - gem install bundler -v '~> 2.0' - bundle install - - bundle exec rspec + - bundle exec rspec spec/unit + +integration: + image: + name: $TMP_IMAGE + entrypoint: [""] + stage: test + script: + - bash -lc "cd $LM_HOME && bundle install && bundle exec rspec spec/integration" QA:php-composer: extends: .QA |
