Browse Source

Working on setting up test coverage w/ code climate.

Lacey Sanderson 6 years ago
parent
commit
fec72eb711
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -16,11 +16,11 @@ before_script:
   - tar xzf ncbi-blast-2.2.30+-x64-linux.tar.gz
   - 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
+  - ./cc-test-reporter before-build --debug
   - GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
   - GIT_COMMIT_SHA=$TRAVIS_PULL_REQUEST_SHA
 after_script:
-  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
+  - ./cc-test-reporter after-build clover.xml --debug -t clover -p /var/www/html/sites/all/modules/custom/tripal_eutils --exit-code $TRAVIS_TEST_RESULT
 script:
   - docker run -it -d --rm --name tripal -v "$(pwd)":/modules/tripal_blast statonlab/tripal3
   - sleep 30 # We pause here so postgres and apache complete booting up