summaryrefslogtreecommitdiff
blob: d511858f7f6c3e6b0a43ff9913d7e0ad185a27e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: ruby
cache: bundler
rvm:
  - 2.4
  - 2.5

gemfiles:
  - Gemfile

branches:
  only:
    - master

addons:
  mariadb: '10.2'

before_script:
  - cp config/database.yml.mysql config/database.yml
  - mysql -e 'CREATE DATABASE glsamaker_test;'

script:
  - bundle exec rubocop
  - bundle exec rake test RAILS_ENV=test