forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 861 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.0"
- "2.1"
sudo: false
cache: bundler
bundler_args: --without development:metric_fu:qpid
env:
global:
- RUBY_GC_MALLOC_LIMIT=90000000
matrix:
- "TEST_SUITE=lib TEST_ROOT=lib"
- "TEST_SUITE=vmdb TEST_ROOT=vmdb"
- "TEST_SUITE=migrations TEST_ROOT=vmdb"
- "TEST_SUITE=replication TEST_ROOT=vmdb"
- "TEST_SUITE=automation TEST_ROOT=vmdb"
- "TEST_SUITE=javascript TEST_ROOT=vmdb"
matrix:
allow_failures:
- rvm: "2.1"
env: "TEST_SUITE=vmdb TEST_ROOT=vmdb"
fast_finish: true
addons:
postgresql: '9.3'
before_install:
- "echo 'gem: --no-ri --no-rdoc --no-document' > ~/.gemrc"
- psql -c "CREATE USER root SUPERUSER PASSWORD 'smartvm';" -U postgres
- rake build:shared_objects
- cd $TEST_ROOT
before_script: bundle exec rake test:$TEST_SUITE:setup
script: bundle exec rake test:$TEST_SUITE