forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (39 loc) · 902 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
language: ruby
rvm:
- '2.3.1'
sudo: false
cache:
bundler: true
directories:
- vendor/assets/bower_components
before_cache:
- cat bower.json > vendor/assets/bower_components/bower.json
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=migrations
- TEST_SUITE=brakeman
matrix:
fast_finish: true
addons:
postgresql: '9.4'
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