2015-11-22 14:58:06 +00:00
|
|
|
before_script:
|
2016-01-26 12:12:06 +00:00
|
|
|
- ruby -v
|
|
|
|
- which ruby
|
|
|
|
- env
|
2016-08-21 15:12:34 +00:00
|
|
|
- test -n "$RNAME" && script/build/test_db_config.sh
|
|
|
|
- test -n "$RNAME" && bundle install
|
2015-11-22 14:58:06 +00:00
|
|
|
|
|
|
|
stages:
|
2015-11-23 13:04:25 +00:00
|
|
|
- pre
|
2015-11-22 14:58:06 +00:00
|
|
|
|
2016-05-20 15:17:53 +00:00
|
|
|
pre:rubocop:
|
2015-11-23 13:04:25 +00:00
|
|
|
stage: pre
|
2015-11-27 11:55:54 +00:00
|
|
|
tags:
|
2015-12-01 18:48:58 +00:00
|
|
|
- core
|
2015-11-23 10:23:05 +00:00
|
|
|
script:
|
|
|
|
- bundle exec rubocop
|
|
|
|
|
2016-05-20 15:17:53 +00:00
|
|
|
pre:coffeelint:
|
2015-11-29 23:24:48 +00:00
|
|
|
stage: pre
|
|
|
|
tags:
|
2015-12-01 18:48:58 +00:00
|
|
|
- core
|
2015-11-29 23:24:48 +00:00
|
|
|
script:
|
|
|
|
- coffeelint app/
|
|
|
|
|
2016-05-20 15:17:53 +00:00
|
|
|
pre:bundle-audit:
|
2016-01-28 19:17:08 +00:00
|
|
|
stage: pre
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
script:
|
|
|
|
- gem install bundler-audit
|
|
|
|
- bundle-audit update
|
|
|
|
- bundle-audit
|
|
|
|
|
2016-08-21 14:55:51 +00:00
|
|
|
pre:github:
|
|
|
|
stage: pre
|
2016-08-21 15:12:34 +00:00
|
|
|
tags:
|
|
|
|
- deploy
|
2016-08-21 14:55:51 +00:00
|
|
|
script:
|
2016-10-19 03:14:44 +00:00
|
|
|
- script/build/sync_repo.sh git@github.com:zammad/zammad.git
|
2016-08-21 14:55:51 +00:00
|
|
|
|