summaryrefslogtreecommitdiff
path: root/spec/support/gitlab_stubs/gitlab_ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/gitlab_stubs/gitlab_ci.yml')
-rw-r--r--spec/support/gitlab_stubs/gitlab_ci.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/spec/support/gitlab_stubs/gitlab_ci.yml b/spec/support/gitlab_stubs/gitlab_ci.yml
index 5de4e6d..4f0f106 100644
--- a/spec/support/gitlab_stubs/gitlab_ci.yml
+++ b/spec/support/gitlab_stubs/gitlab_ci.yml
@@ -1,9 +1,13 @@
-before_script:
+image: ruby:2.1
+services:
+ - postgres
+
+before_script:
- gem install bundler
- bundle install
- bundle exec rake db:create
-rspec:
+rspec:
script: "rake spec"
tags:
- ruby
@@ -19,7 +23,7 @@ spinach:
except:
- tags
-staging:
+staging:
script: "cap deploy stating"
type: deploy
tags: