Created
September 9, 2016 07:46
-
-
Save mhenrixon/cd3b26d67beff77dd22b021a5738b627 to your computer and use it in GitHub Desktop.
How to push coverage to code climate from travis-ci when running rspec from docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo: required | |
language: ruby | |
services: | |
- docker | |
script: | |
- docker-compose run -e TRAVIS=$TRAVIS -e TRAVIS_BRANCH=$TRAVIS_BRANCH -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST rspec | |
- docker-compose run -e TRAVIS=$TRAVIS -e TRAVIS_BRANCH=$TRAVIS_BRANCH -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -e TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST test_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment