hamzahamidi/todo-list

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js
node_js:
  - "8.9.4"

branches:
  only:
  - master
  - develop
  
before_script:
  - yarn global add ionic@latest cordova
  - ionic info

script:
  - ionic config set -g yarn true
  - yarn install --frozen-lockfile
  - ionic cordova build browser --prod

deploy:
  edge:
    branch: v1.8.47
  provider: pages
  skip-cleanup: true
  github-token: $GITHUB_TOKEN  # Set in travis-ci.org dashboard, marked secure
  keep-history: true
  on:
    branch: master
  local_dir: www