friends-of-js/tslint-configs

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js
node_js:
  - 9
  - 8

# Prepare codeclimate coverage reporter
before_script:
  - 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:
  - yarn install
  - yarn run build
  - yarn run lint
  - yarn run test.with.coverage

after_success:
  - yarn run coverage.codecov
  - ./cc-test-reporter after-build --coverage-input-type lcov --exit-code $TRAVIS_TEST_RESULT

cache:
  yarn: true