forked from cloudfoundry/cloud_controller_ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (28 loc) · 944 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
# The secure URLs below are generated using the following command:
#
# $> gem install travis
# $> travis -v
# $> travis login
# $> travis encrypt --org ENV_VAR_TO_ENCRYPT_NAME=env_var_to_encrypt_value -r cloudfoundry/cloud_controller_ng
language: ruby
bundler_args: --deployment --without development
cache: bundler
# Travis cannot find the binary for Ruby 2.3, so we specifically choose 2.3.1
# instead of using the .ruby-version file
rvm:
- 2.3.1
before_script:
- bundle exec rake db:create
script:
- bundle exec rake $TASKS
services:
- mysql
- postgresql
env:
global:
- secure: "ikEVVNPGAX1NqgBPXdjxcPJ3ihO9TyTtaN4iX3d2Wv0GdlSKgRqtCXrWuttVfYGqSoHHWwvCR3qum7N44akLsntrkcIQXGu6CsTsvqDC+vAKHtC31TVmuTEXZyIYA7455+B+a8nMsrO5LjX1ylucV1ZhGLzA84lMRQYkr6PklK0=" # CODECLIMATE_REPO_TOKEN
matrix:
- COVERAGE=true DB=postgres TASKS=spec:all
- DB=mysql TASKS=spec:all
- DB=postgres TASKS=spec:api
- TASKS=rubocop