branches:
  only:
    - develop

language: node_js

node_js:
  - "6"

install:
  - npm install -g harp

script:
  - harp compile -o dist

after_success:
  - echo "zuqichen.com" > dist/CNAME
  - cp README.md dist
  - cp .travis.yml dist
  - cp LICENSE dist

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
  local_dir: dist
  target_branch: master
  on:
    branch: develop

after_deploy:
  - rm -rf dist

branches:
  only:
    - develop

language: node_js

node_js:
  - "6"

install:
  - npm install -g harp

script:
  - harp compile -o dist

after_success:
  - echo "zuqichen.com" > dist/CNAME
  - cp .travis.yml dist

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
  local_dir: dist
  target_branch: master
  on:
    branch: develop

after_deploy:
  - rm -rf dist

Remove README and LICENSE from master branch
Remove README and LICENSE from master branch

No need to do so because the default branch has changed to develop
