Commit 712ab144 authored by Perwaiz Ali's avatar Perwaiz Ali

Update .gitlab-ci.yml

parent d2155b85
Pipeline #2171 canceled with stages
default:
image: ruby:2.6
build-job:
stage: build
script:
- echo "Hello, "
services:
- postgres:11.7
test-job1:
stage: test
script:
- echo "This job tests something"
before_script:
- bundle install
test-job2:
stage: test
script:
- echo "This job tests something, but takes more time than test-job1."
- echo "After the echo commands complete, it runs the sleep command for 20 seconds"
- echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20
test:
deploy-prod:
stage: deploy
script:
- bundle exec rake spec
\ No newline at end of file
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment