Commit 98de2129 authored by James Lopez's avatar James Lopez

added build for both ruby 2.1 and 2.2

parent 3d2df984
image: "ruby:2.2"
before_script:
- export PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
- apt-get update
......@@ -6,7 +8,26 @@ before_script:
- cp config.yml.example config.yml
- bundle install
#ruby 2.2
rspec:
script:
- bundle exec rspec spec
tags:
- ruby
except:
- tags
rubocop:
script:
- bundle exec rubocop
tags:
- ruby
except:
- tags
#ruby 2.1
rspec:
image: ruby:2.1
script:
- bundle exec rspec spec
tags:
......@@ -15,6 +36,7 @@ rspec:
- tags
rubocop:
image: ruby:2.1
script:
- bundle exec rubocop
tags:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment