blob: 4f0f1062e2d80476e2cac7339ec96a6eb554bc36 (
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
40
41
42
43
44
45
|
image: ruby:2.1
services:
- postgres
before_script:
- gem install bundler
- bundle install
- bundle exec rake db:create
rspec:
script: "rake spec"
tags:
- ruby
- postgres
only:
- branches
spinach:
script: "rake spinach"
tags:
- ruby
- mysql
except:
- tags
staging:
script: "cap deploy stating"
type: deploy
tags:
- capistrano
- debian
except:
- stable
production:
type: deploy
script:
- cap deploy production
- cap notify
tags:
- capistrano
- debian
only:
- master
- /^deploy-.*$/
|