forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 939 Bytes
/
.travis.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
language: ruby
rvm:
- "2.2"
sudo: false
cache: bundler
bundler_args: --without development:qpid
env:
global:
- RUBY_GC_MALLOC_LIMIT=90000000
matrix:
- "TEST_SUITE=gems_pending TEST_ROOT=gems/pending"
- "TEST_SUITE=vmdb TEST_ROOT=."
- "TEST_SUITE=migrations TEST_ROOT=."
- "TEST_SUITE=replication TEST_ROOT=."
- "TEST_SUITE=automation TEST_ROOT=."
- "TEST_SUITE=javascript TEST_ROOT=."
- "TEST_SUITE=brakeman TEST_ROOT=."
matrix:
fast_finish: true
addons:
postgresql: '9.3'
before_install:
- "echo 'gem: --no-ri --no-rdoc --no-document' > ~/.gemrc"
- gem uninstall -x -i $GEM_HOME@global bundler
- travis_retry gem install bundler -v ">= 1.8.4"
- echo "1" > REGION
- cp config/database.pg.yml config/database.yml
- psql -c "CREATE USER root SUPERUSER PASSWORD 'smartvm';" -U postgres
- cd $TEST_ROOT
before_script: bundle exec rake test:$TEST_SUITE:setup
script: bundle exec rake test:$TEST_SUITE