summaryrefslogtreecommitdiff
path: root/spec/support/gitlab_stubs/gitlab_ci.yml
blob: 4f76e36eea9b407102508af4d2364afae9780ad6 (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
# Refs to skip
skip_refs: “deploy-*”

# Run before each script
before_script: 
  - ls

# Parallel jobs, each line is parallel build
jobs: 
  - script: "rake spec"
    runner: "ruby,postgres"
    name: "Rspec"
  - script: "rake spinach"
    runner: "ruby,mysql"
    name: "Spinach"
    tags: true
    branches: true

# Parallel deploy jobs
deploy_jobs: 
  - "cap deploy production"
  - script: "cap deploy staging"
    refs: staging
    name: "Deploy to staging"