language: node_js
node_js:
  - "9"
dist: trusty
sudo: required

branches:
  only:
  - master
before_script:
  - npm install -g @angular/cli
script:
- ng lint
- npm run test-headless
- ng build --prod --base-href https://github.com/sitMCella/turing-machine/

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN
  local_dir: dist/turing-machine
  on:
    branch: master
language: node_js
node_js:
  - "9"
dist: trusty
sudo: required

branches:
  only:
  - master
before_script:
  - npm install -g @angular/cli
script:
- ng lint
- npm run test-headless
- ng build --prod --base-href https://sitmcella.github.io/turing-machine/

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN
  local_dir: dist/turing-machine
  on:
    branch: master
Update base url into Travis CI configuration
Update base url into Travis CI configuration
