blob: 680a2b9ab8ead45733f84fd965992fd37f360e65 (
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
|
language: ruby
cache: bundler
rvm:
- 2.4
- 2.5
gemfiles:
- Gemfile
branches:
only:
- master
addons:
mariadb: '10.2'
before_script:
- sed 's/i_forgot_to_set_this/"test-secret"/' < config/initializers/glsamaker.rb.sample > config/initializers/glsamaker.rb
- 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
|