sudo: required dist: trusty addons: chrome: stable language: node_js node_js: - '12' before_install: - npm i npm@^6 -g - npm install -g @angular/cli - npm install codecov -g install: - npm install script: - npm run lint-lib - npm run test-lib-ci - npm run build-lib - cd ../.. - ls - ng new testProject - cd ./testProject - npm install ../damienbod/angular-auth-oidc-client/dist/angular-auth-oidc-client - npm test -- --watch=false --browsers=ChromeHeadless before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - sleep 3 after_success: - cd .. - npm run coveralls notifications: email: false slack: damienandfabian:jBlE2pSSKe18mysZZh1vtPUM