justinhoward/papaya

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js
node_js:
- '6'
- '8'

script:
  - npm test
  - bin/check-version
  - node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info

jobs:
  include:
    - stage: Deploy
      node_js: '6'
      script: skip
      before_deploy: npm run doc
      deploy:
        provider: pages
        github-token:
          secure: 'klMzvFxqr8V8tw6jnghLyt+DOdlNAdt7L0ij8H0GvAGyn9XXQz3JNN+lqM3IOPpRb7odCRlN/Z2RB3KhFAxbgPnEvQA6PtQ1RIGuWucS2hGsZMq072Po50UkofvMSnZkPxbagwa9fButYcmWo0JFOS9KcTxCHdHvfSC7zXO8UsI='
        local-dir: doc
        skip_cleanup: true
        on:
          repo: justinhoward/papaya
          branch: master
    - node_js: '6'
      script: skip
      before_deploy: npm run build-release
      deploy:
        provider: releases
        api_key:
          secure: 'klMzvFxqr8V8tw6jnghLyt+DOdlNAdt7L0ij8H0GvAGyn9XXQz3JNN+lqM3IOPpRb7odCRlN/Z2RB3KhFAxbgPnEvQA6PtQ1RIGuWucS2hGsZMq072Po50UkofvMSnZkPxbagwa9fButYcmWo0JFOS9KcTxCHdHvfSC7zXO8UsI='
        skip_cleanup: true
        file_glob: true
        file: release/papaya-*
        on:
          repo: justinhoward/papaya
          tags: true
    - node_js: '6'
      script: skip
      before_deploy: npm run build
      deploy:
        provider: npm
        email: jmhoward0@gmail.com
        api_key:
          secure: 'NFwTPkLGCmYuFlLwN8YgzgPd1yC8eOd9YhIwW36e5yBYFBD2ZcBi6k0eGffMIExFoMbu9rQOZRKPT3orRlv6SPCv0xOEj2rFSGLpReNRv7HbHe7u9O/Yb5CgJKUBTlVJSvriLnAPeZJ2fI+Q334ECOsdSjFa9BKsst7oyz4cMYo='
        skip_cleanup: true
        on:
          repo: justinhoward/papaya
          tags: true

addons:
  code_climate:
    repo_token:
      secure: Ol0MUyYYNUGLDy0VluDMP+rmG2LAG0f0URDvV5hoXM2fDJEaF50ptVOJUt7TZT3yJHneuRFQcRgPTOKKYDrtRECGuE44lQdigTZCkwYx7GDcAIiyiqzAyZqf62DhTBvgAk4K/lm1VwF2XV1aydEqUmc8Xvq+eqevDgP4IZCIu14=