Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
8eb29056
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8eb29056
编写于
2月 24, 2016
作者:
J
James Lopez
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
testing script
上级
4a9affa7
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
6 addition
and
285 deletion
+6
-285
.gitlab-ci.yml
.gitlab-ci.yml
+6
-285
未找到文件。
.gitlab-ci.yml
浏览文件 @
8eb29056
...
...
@@ -28,96 +28,6 @@ stages:
-
test
-
notifications
spec:feature:
stage
:
test
script
:
-
RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
tags
:
-
ruby
-
mysql
spec:api:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
tags
:
-
ruby
-
mysql
spec:models:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
tags
:
-
ruby
-
mysql
spec:lib:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
tags
:
-
ruby
-
mysql
spec:services:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
tags
:
-
ruby
-
mysql
spec:benchmark:
stage
:
test
script
:
-
RAILS_ENV=test bundle exec rake spec:benchmark
tags
:
-
ruby
-
mysql
allow_failure
:
true
spec:other:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
tags
:
-
ruby
-
mysql
spinach:project:half:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
tags
:
-
ruby
-
mysql
spinach:project:rest:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
tags
:
-
ruby
-
mysql
spinach:other:
stage
:
test
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
tags
:
-
ruby
-
mysql
teaspoon
:
stage
:
test
script
:
-
RAILS_ENV=test bundle exec teaspoon
tags
:
-
ruby
-
mysql
rubocop
:
stage
:
test
script
:
...
...
@@ -126,202 +36,13 @@ rubocop:
-
ruby
-
mysql
brakeman
:
stage
:
test
script
:
-
bundle exec rake brakeman
tags
:
-
ruby
-
mysql
flog
:
stage
:
test
script
:
-
bundle exec rake flog
tags
:
-
ruby
-
mysql
flay
:
stage
:
test
script
:
-
bundle exec rake flay
tags
:
-
ruby
-
mysql
bundler:audit:
stage
:
test
script
:
-
"
bundle
exec
bundle-audit
update"
-
"
bundle
exec
bundle-audit
check"
tags
:
-
ruby
-
mysql
allow_failure
:
true
# Ruby 2.2 jobs
spec:feature:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spec:api:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spec:models:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spec:lib:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spec:services:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spec:benchmark:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test bundle exec rake spec:benchmark
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
allow_failure
:
true
spec:other:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spinach:project:half:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spinach:project:rest:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
spinach:other:ruby22:
stage
:
test
image
:
ruby:2.2
only
:
-
master
script
:
-
RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
cache
:
key
:
"
ruby22"
paths
:
-
vendor
tags
:
-
ruby
-
mysql
notify:slack:
stage
:
notifications
script
:
-
./scripts/notify_slack.sh "#builds" "Build failed for master/tags!"
when
:
on_failure
only
:
-
master@gitlab-org/gitlab-ce
-
tags@gitlab-org/gitlab-ce
-
master@gitlab-org/gitlab-ee
-
tags@gitlab-org/gitlab-ee
\ No newline at end of file
-
if [[ "$(basename „$PWD")" == "gitlab-ce" ]]; then
./scripts/notify_slack.sh "#ci-test" "Build failed! Check https://gitlab.com/gitlab-org/gitlab-ee/commit/$CI_BUILD_REF/builds"
else
./scripts/notify_slack.sh "#ci-test" "Build failed! Check https://gitlab.com/gitlab-org/gitlab-ee/commit/$CI_BUILD_REF/builds"
fi
when
:
on_failure
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录