blob: 2f381cdf7e386d4f8c43655fa08ebb25dd89fbbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
image: leapcode/ruby
before_script:
- ruby -v
- sudo gem install bundler --no-ri --no-rdoc
- sudo bundle install --jobs $(nproc) --without system_tests --path=/var/cache/gitlab-runner/ "${FLAGS[@]}"
# don't fail on lint warnings
rspec:
script:
- bundle exec rake lint || /bin/true
- bundle exec rake syntax
- bundle exec rake validate
- bundle exec rake spec
|