language: node_js
node_js:
  - '0.10'
  - '0.12'
  - iojs

script:
  # Test postinstall
  - rm -rf node_modules
  - npm install .
  - npm install
  
  # Test
  - npm test
  - npm run coverage

  # Test global install
  - npm install . -g
  - vimlint
  - vimlint --help
  - vimlint --version
  - vimlint test/succeeded.vim
  - vimlint test/failed.vim; [ $? != 0 ]

env:
  global:
    secure: "bYfP25nebZwoiWjp3SSfYSKyTmNZHThI5P0MVSuFlFW3PyPPC+MmToYrzLZc6qe03We+dhV7FPMfM1QZmhTfBiaB21t7tkTYW7Krpri6nbNm6TNLlIv8/HUfPEwJur4FUph38z0hPlS9rgS8SqljvahGnxfVDhU3znUdm54Nqdg="

language: node_js
node_js:
  - '0.10'
  - '0.12'
  - iojs

script:
  # Test postinstall
  - rm -rf node_modules
  - npm install .
  - npm install
  
  # Test
  - npm test
  - npm run coverage

  # Test global install
  - npm install . -g
  - vimlint
  - vimlint --help
  - vimlint --version
  - vimlint test/succeeded.vim
  - vimlint test/failed.vim; [ $? != 0 ]

env:
  global:
    secure: "bYfP25nebZwoiWjp3SSfYSKyTmNZHThI5P0MVSuFlFW3PyPPC+MmToYrzLZc6qe03We+dhV7FPMfM1QZmhTfBiaB21t7tkTYW7Krpri6nbNm6TNLlIv8/HUfPEwJur4FUph38z0hPlS9rgS8SqljvahGnxfVDhU3znUdm54Nqdg="

sudo: false
Switch to container based Travis-CI
Switch to container based Travis-CI
