language: node_js
# 4.3.2 is what AWS Lambda currently uses
node_js:
  - "5"
  - "4.3.2"
python:
  - "2.7"

before_install:
  - if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
  - pip install pytest
  - pip install -r requirements.txt

script:
  - npm test
  - pytest

# For code coverage:
after_success:
   cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

language: node_js
# 4.3.2 is what AWS Lambda currently uses
node_js:
  - "5"
  - "4.3.2"
python:
  - "2.7"

before_install:
  - if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
  - pip install --user pytest
  - pip install --user -r requirements.txt

script:
  - npm test
  - pytest

# For code coverage:
after_success:
   cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage

Add user flag for pip install on Travis
Add user flag for pip install on Travis
