Commit fc5ed4df authored by Björn Bartels's avatar Björn Bartels 👩🏻
Browse files

update test/coverage reporters

parent 77d8be8f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -21,17 +21,17 @@ env:
    - CC_TEST_REPORTER_ID=d3d9c3f322f86cad264684e97be447a1e900f3bc6b4c34181e26b5ed19dffc42

before_script:
  - npm install
  - 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

script:
  - npm install
  - npm test
  - sonar-scanner

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
  - ./cc-test-reporter after-build --coverage-input-type lcov --exit-code $TRAVIS_TEST_RESULT
  - sonar-scanner

cache:
  directories: