Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
44 lines (34 sloc) 1.664 kB
# 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
rvm:
- 2.1.6
before_script:
- bundle exec rake db:create
- gem install travis-artifacts
script:
- bundle exec rake $TASKS
after_success:
- "[ $TRAVIS_BRANCH == 'master' -a $UPLOAD_DOCUMENTATION == 'true' ] && travis-artifacts upload --path doc/api --target-path $TRAVIS_BUILD_ID && echo https://s3-us-east-1.amazonaws.com/cc-api-docs/$TRAVIS_BUILD_ID/index.html"
services:
- mysql
- postgresql
env:
global:
# API Docs
- "ARTIFACTS_S3_BUCKET=cc-api-docs"
- "ARTIFACTS_AWS_REGION=us-east-1"
- secure: "ikEVVNPGAX1NqgBPXdjxcPJ3ihO9TyTtaN4iX3d2Wv0GdlSKgRqtCXrWuttVfYGqSoHHWwvCR3qum7N44akLsntrkcIQXGu6CsTsvqDC+vAKHtC31TVmuTEXZyIYA7455+B+a8nMsrO5LjX1ylucV1ZhGLzA84lMRQYkr6PklK0=" # CODECLIMATE_REPO_TOKEN
- secure: "QKt8dWFoORupYyQ6g4ak4KwKVVnQEn4VsLg73hr7zqGDOKFJy2gFCndqA8oYgAjTtRxzJ1CwcZpNSPV8IAkP45N0uX/lqDWRWhMg+6u92gdzvPw6iaKhpMpdeoUZfwWV4itMXEdWAj2lUNQQnYCAMh85ARzqXItwspFLfNsPKXE=" # ARTIFACTS_AWS_ACCESS_KEY_ID
- secure: "LWELpbmGKm0czPQJAW/DhmKBXiID+UZPWi5r9EFxdO9LnqOcu8qYtu5GZkWSUsaWeLZqrfpR9ZvBvr62wQzDF75BJYuWrEjIPPC/2pTQAIg/NCu04iw8JWhOKW1MNXG1F4NKLCFEs9W8irKc4fC/xvjwhhDA7VI77oLoKZmrLW0=" # ARTIFACTS_AWS_SECRET_ACCESS_KEY
matrix:
- COVERAGE=true DB=postgres TASKS=spec:all
- DB=mysql TASKS=spec:all
- DB=postgres TASKS=spec:api UPLOAD_DOCUMENTATION=true
- TASKS=rubocop
Jump to Line
Something went wrong with that request. Please try again.