forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 843 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
32
33
34
35
36
37
38
39
40
language: ruby
rvm:
- 2.3.1
- 2.4.2
sudo: false
cache:
bundler: true
env:
global:
- RUBY_GC_HEAP_GROWTH_MAX_SLOTS=300000
- RUBY_GC_HEAP_INIT_SLOTS=600000
- RUBY_GC_HEAP_GROWTH_FACTOR=1.25
- PARALLEL_TEST_PROCESSORS=2
matrix:
- TEST_SUITE=vmdb PARALLEL=true
- TEST_SUITE=brakeman
matrix:
allow_failures:
- rvm: 2.4.2
exclude:
- rvm: 2.4.2
env: TEST_SUITE=brakeman
fast_finish: true
addons:
postgresql: '9.5'
before_install:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_install.sh
before_script:
- bundle exec rake test:$TEST_SUITE:setup
script:
- bundle exec rake test:$TEST_SUITE
after_failure:
- source ${TRAVIS_BUILD_DIR}/tools/ci/after_failure.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/7af45001fe6b7a4039f2
on_success: change
on_failure: always
on_start: never