forked from cloudfoundry/bosh
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
29 lines (22 loc) · 879 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
script: 'bundle exec rake --trace $TASKS'
# Required by the go agent
before_install: 'sudo apt-get update'
install:
- 'sudo apt-get install dnsutils'
- 'bundle install --local --without development'
rvm:
- ruby-1.9.3
- ruby-2.1.1
env:
# limit unit test threads to 1 to avoid SimpleCov race conditions:
# https://github.com/colszowka/simplecov/issues/305
- COVERAGE=true BOSH_MAX_THREADS=1 TASKS="travis:install_go spec:unit ci:publish_coverage_report"
- DB=mysql TASKS="spec:integration:ruby_agent"
- DB=postgres TASKS="spec:integration:ruby_agent"
# Go agent integration tests do not need to test every DB flavor
# since integration tests above already tested them
- TASKS="travis:install_go spec:integration:go_agent"
addons:
code_climate:
# master branch
repo_token: c5256f87295d0bf77f092dfa5f037b17ef17439c7342209256258084a54e410f