language: node_js
node_js:
  - node
  - "0.12"
script: node make build=release alltests
sudo: false
addons:
  apt:
    packages:
     - default-jdk
deploy:
  - provider: script
    script: tools/travis-deploy.sh
    on:
      node: node
      repo: CindyJS/CindyJS
      branch: master
    skip_cleanup: true
  - provider: script
    script: tools/travis-deploy.sh
    on:
      node: node
      repo: CindyJS/CindyJS
      tags: true
      condition: "${TRAVIS_TAG} == v*([0-9]).*([0-9]).*([0-9])"
    skip_cleanup: true

language: node_js
node_js:
  - node
  - "0.12"
script: node make build=release alltests
dist: trusty
sudo: false
addons:
  apt:
    packages:
     - default-jdk
deploy:
  - provider: script
    script: tools/travis-deploy.sh
    on:
      node: node
      repo: CindyJS/CindyJS
      branch: master
    skip_cleanup: true
  - provider: script
    script: tools/travis-deploy.sh
    on:
      node: node
      repo: CindyJS/CindyJS
      tags: true
      condition: "${TRAVIS_TAG} == v*([0-9]).*([0-9]).*([0-9])"
    skip_cleanup: true

Switch to using the trusty environment on Travis, currently in beta
Switch to using the trusty environment on Travis, currently in beta

See https://docs.travis-ci.com/user/trusty-ci-environment/ for details.
