summaryrefslogtreecommitdiff
path: root/spec/support/gitlab_stubs/gitlab_ci.yml
blob: bf09f732488b57ca63b524350644a22c417f1431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
before_script: 
  - gem install bundler
  - bundle install 
  - bundle exec rake db:create

rspec: 
  test: "rake spec"
  tags: 
    - ruby
    - postgres
  only:
    - branches

spinach:
  test: "rake spinach"
  tags: 
    - ruby
    - mysql
  except:
    - tags

staging: 
  deploy: "cap deploy stating"
  tags: 
    - capistrano
    - debian
  except:
    - stable

production:
  deploy: 
    - cap deploy production
    - cap notify
  tags: 
    - capistrano
    - debian
  only:
    - master
    - /^deploy-.*$/