Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-shell
Commits
98de2129
Commit
98de2129
authored
Feb 10, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added build for both ruby 2.1 and 2.2
parent
3d2df984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
.gitlab-ci.yml
.gitlab-ci.yml
+22
-0
No files found.
.gitlab-ci.yml
View file @
98de2129
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment