language: node_js
node_js:
  - "6.9"
install:
  - npm install
cache:
  directories:
  - node_modules
# before_script:
script:
  - npm test
  - npm run build
notifications:
    slack: 
      on_pull_requests: false
      rooms:
        - fabrikafrontend:Rj7FzEUdapSihjbouEbWzkmf
      on_success: change # default: always
      on_failure: change # default: always
language: node_js
node_js:
  - "6.9"
install:
  - npm install
cache:
  directories:
  - node_modules
# before_script:
script:
  - npm test
  - npm run build
deploy:
  provider: pages
  skip_cleanup: true
  github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
  local_dir: build
  on:
    branch: master
notifications:
    slack: 
      on_pull_requests: false
      rooms:
        - fabrikafrontend:Rj7FzEUdapSihjbouEbWzkmf
      on_success: change # default: always
      on_failure: change # default: always
Add deployment task to CI
Add deployment task to CI
