---
machine:
    python:
        version: 3.4.2

dependencies:
    override:
        - pip install -r requirements/development.txt
        - gem install coveralls-lcov
        - npm install -g jshint mocha blanket mocha-lcov-reporter moment

test:
    override:
        - flake8
        - node_modules/.bin/jshint */static/js
        - coverage run manage.py test --settings=eggtimer.settings.development
        - node_modules/.bin/mocha */tests/static/js/*
        - node_modules/.bin/mocha --reporter mocha-lcov-reporter */tests/static/js/* > coverage.info
        - coveralls-lcov -v -n coverage.info > coverage.json
        - DJANGO_SETTINGS_MODULE=eggtimer.settings.development PYTHONPATH=. coveralls --merge coverage.json

deployment:
    production:
        branch: master
        commands:
            - sh scripts/deploy_to_heroku.sh circle

---
machine:
    python:
        version: 3.4.2

dependencies:
    override:
        - pip install -r requirements/development.txt
        - gem install coveralls-lcov
        - npm install jshint mocha blanket mocha-lcov-reporter moment

test:
    override:
        - flake8
        - node_modules/.bin/jshint */static/js
        - coverage run manage.py test --settings=eggtimer.settings.development
        - node_modules/.bin/mocha */tests/static/js/*
        - node_modules/.bin/mocha --reporter mocha-lcov-reporter */tests/static/js/* > coverage.info
        - coveralls-lcov -v -n coverage.info > coverage.json
        - DJANGO_SETTINGS_MODULE=eggtimer.settings.development PYTHONPATH=. coveralls --merge coverage.json

deployment:
    production:
        branch: master
        commands:
            - sh scripts/deploy_to_heroku.sh circle

Revert incorrect change to npm install in build script
Revert incorrect change to npm install in build script
