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,6 +8,7 @@ before_script:
- cp config.yml.example config.yml
- bundle install
#ruby 2.2
rspec:
script:
- bundle exec rspec spec
......@@ -21,3 +24,22 @@ rubocop:
- ruby
except:
- tags
#ruby 2.1
rspec:
image: ruby:2.1
script:
- bundle exec rspec spec
tags:
- ruby
except:
- tags
rubocop:
image: ruby:2.1
script:
- bundle exec rubocop
tags:
- ruby
except:
- 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