forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
30 lines (30 loc) · 974 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: manageiq_gitlabci:master
before_script:
- su postgres -c ". /docker-environment.sh && pg_ctl start -w -D /var/opt/rh/rh-postgresql94/lib/pgsql/data/"
- ruby -v
- postgres --version
- bundle config --global jobs 3
- bundle config --global retry 3
- echo "1" > REGION
- cp certs/v2_key.dev certs/v2_key
- cp config/database.pg.yml config/database.yml
- export BUNDLE_GEMFILE=$PWD/Gemfile
- export RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000
- export RUBY_GC_HEAP_INIT_SLOTS=600000
- export RUBY_GC_HEAP_GROWTH_FACTOR=1.25
test:vmdb:
script:
- bundle update
- bower install --allow-root -F --config.analytics=false
- bundle exec rake test:vmdb:setup
- bundle exec rake test:vmdb
test:migrations:
script:
- bundle update
- bundle exec rake test:migrations:setup
- bundle exec rake test:migrations
test:brakeman:
script:
- bundle update
- bundle exec rake test:brakeman:setup
- bundle exec rake test:brakeman