Skip to content

Commit

Permalink
Codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
dannnylo committed Jul 26, 2019
1 parent 6b35739 commit 3413ab0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,22 @@ addons:
apt:
packages:
- tesseract-ocr
env:
global:
- CC_TEST_REPORTER_ID=d263af6633d496aebee2d97ddc12eccf98ab39e72de1734b55023d587d928ed1

before_install:
- sudo add-apt-repository ppa:alex-p/tesseract-ocr -y
- sudo apt-get update -q
- sudo apt-get install tesseract-ocr tesseract-ocr-eng ghostscript -y
- 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

after_script:
- mix deps.get --only docs
- MIX_ENV=test mix credo --strict
- MIX_ENV=test mix coveralls --verbose
- MIX_ENV=test mix coveralls.json --verbose
- MIX_ENV=test mix coveralls.travis
- ./cc-test-reporter after-build -r "$CC_TEST_REPORTER_ID" -t excoveralls --exit-code $TRAVIS_TEST_RESULT

0 comments on commit 3413ab0

Please sign in to comment.