forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 957 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'
sudo: false
cache: bundler
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=automation
- TEST_SUITE=migrations
- TEST_SUITE=brakeman
- TEST_SUITE=replication
- GEM=pending
- TEST_SUITE=javascript
matrix:
fast_finish: true
addons:
postgresql: '9.4'
before_install:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_install.sh
before_script:
- source ${TRAVIS_BUILD_DIR}/tools/ci/before_script.sh
script:
- bundle exec rake ${TEST_SUITE+test:$TEST_SUITE}
after_script:
- source ${TRAVIS_BUILD_DIR}/tools/ci/after_script.sh
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