Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
shells
signup-site
Commits
54fcd5b7
Commit
54fcd5b7
authored
Jul 19, 2017
by
Cool Fire
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' into 'master'
Merge environment deploy hint to master See merge request
!7
parents
4c2059a9
4f6c2bb8
Pipeline
#365
passed with stages
in 3 minutes and 6 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
.gitlab-ci.yml
.gitlab-ci.yml
+10
-7
No files found.
.gitlab-ci.yml
View file @
54fcd5b7
...
...
@@ -6,43 +6,43 @@ stages:
-
deploy
syntax_ruby_2-4
:
stage
:
syntax
image
:
ruby:2.4
image
:
ruby:2.4
-alpine
script
:
-
ruby -v
-
find . -name '*\.rb' -exec bash -c 'echo -ne "{}\t\t\t" && ruby -c {}' \;
syntax_erb_2-4
:
stage
:
syntax
image
:
ruby:2.4
image
:
ruby:2.4
-alpine
script
:
-
ruby -v
-
find . -name '*\.erb' -exec bash -c 'echo -ne "{}\t\t\t" && erb -P -x {} | ruby -c' \;
syntax_ruby_2-3
:
stage
:
syntax
image
:
ruby:2.3
image
:
ruby:2.3
-alpine
script
:
-
ruby -v
-
find . -name '*\.rb' -exec bash -c 'echo -ne "{}\t\t\t" && ruby -c {}' \;
syntax_erb_2-3
:
stage
:
syntax
image
:
ruby:2.3
image
:
ruby:2.3
-alpine
script
:
-
ruby -v
-
find . -name '*\.erb' -exec bash -c 'echo -ne "{}\t\t\t" && erb -P -x {} | ruby -c' \;
lint_ruby
:
stage
:
linting
image
:
ruby:2.4
image
:
ruby:2.4
-alpine
script
:
-
gem install rubocop --no-ri --no-rdoc
-
rubocop -l -f s
lint_yaml
:
stage
:
linting
image
:
ruby:2.4
image
:
ruby:2.4
-alpine
script
:
-
gem install yamllint --no-ri --no-rdoc
-
yamllint content/*.yaml
rack_test
:
stage
:
testing
image
:
ruby:2.4
image
:
ruby:2.4
-alpine
script
:
-
gem install rack-test --no-ri --no-rdoc
-
bundle install
...
...
@@ -53,6 +53,9 @@ deploy_to_production:
image
:
ubuntu:16.04
only
:
-
master
environment
:
name
:
production
url
:
https://signup.insomnia247.nl
script
:
-
apt-get update
-
apt-get install -y -qq ruby
...
...
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