sudo: false
dist: trusty
language: python
cache:
    pip: true
    directories:
        - node_modules
python:
    - 2.7
    - 3.4
    - 3.5
    - 3.6
install:
    - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8
    - npm install -g gulp-cli && npm install
    - pip install pipenv && pipenv install --dev
before_script:
    - gulp lint
    - gulp build
    - gulp collectstatic
script:
    - gulp coverage
after_success:
    - pipenv run coveralls
notifications:
    email: false