2020-01-25 05:24:43 +00:00
|
|
|
language: generic
|
|
|
|
dist: bionic
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- name: "Python 3.6"
|
|
|
|
before_install:
|
|
|
|
- pyenv global 3.6.9
|
|
|
|
- name: "Python 3.7"
|
|
|
|
before_install:
|
|
|
|
- pyenv global 3.7.5
|
|
|
|
- name: "Python 3.8"
|
|
|
|
before_install:
|
|
|
|
- pyenv global 3.8.0
|
2017-10-22 21:32:43 +00:00
|
|
|
cache:
|
2020-01-25 05:24:43 +00:00
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
|
|
|
- node_modules
|
2017-12-01 04:10:08 +00:00
|
|
|
env:
|
2020-01-25 05:24:43 +00:00
|
|
|
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
|
2017-10-22 21:32:43 +00:00
|
|
|
install:
|
2020-01-25 05:24:43 +00:00
|
|
|
- nvm use 10
|
|
|
|
- npm install -g gulp-cli && npm install
|
|
|
|
- pip install pipenv && pipenv install --dev
|
2017-10-22 21:32:43 +00:00
|
|
|
before_script:
|
2020-01-25 05:24:43 +00:00
|
|
|
- gulp lint
|
2017-10-22 21:53:03 +00:00
|
|
|
script:
|
2020-01-25 05:24:43 +00:00
|
|
|
- gulp coverage
|
2017-10-22 21:32:43 +00:00
|
|
|
after_success:
|
2020-01-25 05:24:43 +00:00
|
|
|
- pipenv run coveralls
|
2017-10-22 21:32:43 +00:00
|
|
|
notifications:
|
2020-01-25 05:24:43 +00:00
|
|
|
email: false
|