language: node_js
# Be aware of https://github.com/nodejs/LTS when choosing versions to test
# Update engines.node in package.json if removing old versions.
node_js:
  - node
  - 0.10
  - 0.8
# Note1:  Travis appears to interpret 0.1 as 0.10
# Note2:  Travis has to build Node versions before 0.8.
#         So to be a good netizen, we normally disable it.
  - 0.2

# If the package has OS-dependent features, uncomment this.
#os:
#  - linux
#  - osx

# Note:  semantic-release caches node_modules and `npm prune` in before_script
# https://github.com/semantic-release/semantic-release/blob/v6.2.0/.travis.yml#L3
# Since cache is stored in S3 and npm repository is a caching proxy, why bother?

sudo: false

script:
  - npm run test-cov

# Note:  Both codecov and coveralls detect branch/PR info from Travis CI
# https://github.com/codecov/codecov-node/blob/v1.0.1/lib/services/travis.js
# https://github.com/nickmerwin/node-coveralls/blob/2.11.5/lib/getOptions.js#L18
after_success:
  - npm run upload-cov

language: node_js
# Be aware of https://github.com/nodejs/LTS when choosing versions to test
# Update engines.node in package.json if removing old versions.
node_js:
  - node
  - 0.10
  - 0.8
# Note1:  Travis appears to interpret 0.1 as 0.10
# Note2:  Travis has to build Node versions before 0.8.
#         So to be a good netizen, we normally disable it.
# - 0.2

# If the package has OS-dependent features, uncomment this.
#os:
#  - linux
#  - osx

# Note:  semantic-release caches node_modules and `npm prune` in before_script
# https://github.com/semantic-release/semantic-release/blob/v6.2.0/.travis.yml#L3
# Since cache is stored in S3 and npm repository is a caching proxy, why bother?

sudo: false

script:
  - npm run test-cov

# Note:  Both codecov and coveralls detect branch/PR info from Travis CI
# https://github.com/codecov/codecov-node/blob/v1.0.1/lib/services/travis.js
# https://github.com/nickmerwin/node-coveralls/blob/2.11.5/lib/getOptions.js#L18
after_success:
  - npm run upload-cov

Disable Node.js 0.2 on Travis CI
Disable Node.js 0.2 on Travis CI

Until we get 0.8 working, there's no sense wasting compute cycles on
0.2.

Signed-off-by: Kevin Locke <ffb4761cba839470133bee36aeb139f58d7dbaa9@kevinlocke.name>
