Asymmetrik/ngx-starter

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
dist: trusty

language: node_js
node_js:
  - "10"

cache:
  directories:
     - ./node_modules

install:
  - npm install

before_script:
  - echo $PATH
  - mkdir chromedriver
  - wget http://chromedriver.storage.googleapis.com/74.0.3729.6/chromedriver_linux64.zip
  - unzip chromedriver_linux64.zip -d chromedriver
  - export PATH=$PATH:`pwd`/chromedriver
  - export CHROME_BIN=chromium-browser
  - which chromedriver

script:
  - npm run build:prod
  - npm run test:ci
#  - npm run e2e

after_success:
  - npm install -g codeclimate-test-reporter
  - codeclimate-test-reporter < coverage/lcov.info