ManageIQ/manageiq-api-common

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
dist: xenial
language: ruby
sudo: false
cache: bundler
rvm:
- 2.5.7
- 2.6.5
addons:
  postgresql: '10'
env:
  global:
  - DATABASE_URL="postgresql://postgres:@localhost:5432/insights_api_common_test?encoding=utf8&pool=5&wait_timeout=5"
before_install:
- gem install bundler
before_script:
- cp ./v2_key.dev ./v2_key
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
  > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- "./cc-test-reporter before-build"
- cd spec/dummy && bin/setup && cd -
after_script:
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"