mybuddy/.travis.yml

29 lines
674 B
YAML

sudo: false
dist: trusty
language: python
cache:
pip: true
directories:
- node_modules
python:
- 2.7
- 3.4
- 3.5
- 3.6
env:
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
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