summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 69f72891649566e0c157db0c233f25f7b7a916a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
before_script:
  - ./script/prepare_build.sh
  - ruby -v
  - gem install bundler
  - cp config/application.yml.example config/application.yml
  - cp config/secrets.yml.example config/secrets.yml
  - bundle --without postgres
  - RAILS_ENV=test bundle exec rake db:setup
specs:
  script: SIMPLECOV=true RAILS_ENV=test bundle exec rake spec
  tags:
    - ruby
    - mysql
rubocop:
  script: bundle exec rubocop
  tags:
    - ruby
    - mysql
brakeman:
  script: bundle exec brakeman
  tags:
    - ruby
    - mysql