2017-10-22 21:32:43 +00:00
|
|
|
sudo: false
|
2019-04-15 04:15:41 +00:00
|
|
|
dist: xenial
|
2017-10-22 21:32:43 +00:00
|
|
|
language: python
|
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
python:
|
|
|
|
- 3.5
|
|
|
|
- 3.6
|
2017-12-01 04:10:08 +00:00
|
|
|
env:
|
|
|
|
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
|
2017-10-22 21:32:43 +00:00
|
|
|
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
|
2017-10-22 21:53:03 +00:00
|
|
|
script:
|
|
|
|
- gulp coverage
|
2017-10-22 21:32:43 +00:00
|
|
|
after_success:
|
|
|
|
- pipenv run coveralls
|
|
|
|
notifications:
|
|
|
|
email: false
|