There was an error while loading. Please reload this page.
1 parent 3d2df98 commit 98de212Copy full SHA for 98de212
.gitlab-ci.yml
@@ -1,3 +1,5 @@
1
+image: "ruby:2.2"
2
+
3
before_script:
4
- export PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
5
- apt-get update
@@ -6,6 +8,7 @@ before_script:
6
8
- cp config.yml.example config.yml
7
9
- bundle install
10
11
+#ruby 2.2
12
rspec:
13
script:
14
- bundle exec rspec spec
@@ -21,3 +24,22 @@ rubocop:
21
24
- ruby
22
25
except:
23
26
- tags
27
28
+#ruby 2.1
29
+rspec:
30
+ image: ruby:2.1
31
+ script:
32
+ - bundle exec rspec spec
33
+ tags:
34
+ - ruby
35
+ except:
36
+ - tags
37
38
+rubocop:
39
40
41
+ - bundle exec rubocop
42
43
44
45
0 commit comments