dist: trusty

language: node_js
node_js: "8.9.4"

addons:
  chrome: stable

branches:
  only:
    - master

before_install:
  - cd ng-app

install:
  - npm install -g @angular/cli
  - npm install

script:
  - ng test --watch false

cache:
  directories: ng-app/node_modules

notifications:
  email:
    on_failure: change
    on_success: change
dist: trusty

language: node_js
node_js: "8.10.0"

addons:
  chrome: stable

branches:
  only:
    - master

before_install:
  - cd ng-app

install:
  - npm install -g @angular/cli
  - npm install

script:
  - ng test --watch false

cache:
  directories: ng-app/node_modules

notifications:
  email:
    on_failure: change
    on_success: change

Update node version for CI run.
Update node version for CI run.
