language: node_js
node_js: 6
branches:
  except: /^v\d+\.\d+(\.\d+)?(-\S*)?$/
script:
  - npm run eslint
  - npm test
  - npm run coverage
  - npm run codecov
deploy:
  - provider: script
    skip_cleanup: true
    script: /bin/bash scripts/release.sh
    on:
      branch: master
  - provider: pages
    skip_cleanup: true
    github_token: $GITHUB_API_KEY
    on:
      branch: master
      condition: -e tmp/flags/gh-pages
  - provider: npm
    skip_cleanup: true
    email: $NPM_EMAIL
    api_key: $NPM_API_KEY
    on:
      branch: master
      condition: -e tmp/flags/npm
language: node_js
node_js: 6
branches:
  except: /^v\d+\.\d+(\.\d+)?(-\S*)?$/
script:
  - npm run eslint
  - npm test
  - npm run coverage
  - npm run codecov
before_install:
  - git checkout -f ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
deploy:
  - provider: script
    skip_cleanup: true
    script: /bin/bash scripts/release.sh
    on:
      branch: master
  - provider: pages
    skip_cleanup: true
    github_token: $GITHUB_API_KEY
    on:
      branch: master
      condition: -e tmp/flags/gh-pages
  - provider: npm
    skip_cleanup: true
    email: $NPM_EMAIL
    api_key: $NPM_API_KEY
    on:
      branch: master
      condition: -e tmp/flags/npm
Fix force checkout on Pull Requests
Fix force checkout on Pull Requests
