language: node_js
sudo: false
notifications:
  email:
    recipients:
      - tristan.wright@kitware.com
      - sebastien.jourdain@kitware.com
    on_success: change
    on_failure: always
cache:
  directories:
    - node_modules
node_js:
  - "4.1"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
script:
  - npm run build:release
  - npm run test:travis
  - if [ "$TRAVIS_BRANCH" == "master" ]; then npm run doc:publish; fi
after_success:
  - npm run semantic-release
deploy:
    script:
        - npm run doc:publish
    on:
        branch: master
branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"

language: node_js
sudo: false
notifications:
  email:
    recipients:
      - tristan.wright@kitware.com
      - sebastien.jourdain@kitware.com
    on_success: change
    on_failure: always
cache:
  directories:
    - node_modules
node_js:
  - "4.1"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
script:
  - npm run build:release
  - npm run test:travis
  - if [ "$TRAVIS_BRANCH" == "master" ]; then npm run doc:publish; fi
after_success:
  - npm run semantic-release
branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"

Fix documentation publication for branch master
chore(Travis): Fix documentation publication for branch master
