language: node_js
sudo: false
node_js:
  - "6"

cache: yarn

script:
  - yarn lint
  - yarn build

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN
  local_dir: dist
  on:
    branch: master

language: node_js
sudo: false
node_js:
  - "6"

cache: yarn

script:
  - yarn lint
  - yarn build

deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN
  local_dir: dist
  fqdn: develop.ysitd.cloud
  on:
    branch: master

Add custom domain on Travis
Add custom domain on Travis
