forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
52 lines (52 loc) · 1.53 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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:automation:
script:
- bundle update
- bundle exec rake test:automation:setup
- bundle exec rake test:automation
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
test:replication:
script:
- bundle update
- bundle exec rake test:replication:setup
- bundle exec rake test:replication
test:gems-pending:
script:
- cd gems/pending
- export BUNDLE_GEMFILE=$PWD/Gemfile
- bundle update
- bundle exec rake
test:javascript:
script:
- bundle update
- bower install --allow-root -F --config.analytics=false
- bundle exec rake test:javascript:setup
- bundle exec rake test:javascript