2020-01-27 23:13:27 +00:00
|
|
|
os: linux
|
2020-01-25 05:24:43 +00:00
|
|
|
language: generic
|
|
|
|
dist: bionic
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- name: "Python 3.6"
|
|
|
|
before_install:
|
2020-08-13 03:14:30 +00:00
|
|
|
- pyenv global 3.6.10
|
2020-01-25 05:24:43 +00:00
|
|
|
- name: "Python 3.7"
|
|
|
|
before_install:
|
2020-08-13 03:14:30 +00:00
|
|
|
- pyenv global 3.7.6
|
2020-01-25 05:24:43 +00:00
|
|
|
- name: "Python 3.8"
|
|
|
|
before_install:
|
2020-08-13 03:14:30 +00:00
|
|
|
- pyenv global 3.8.1
|
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
|
2020-01-27 23:13:27 +00:00
|
|
|
- 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
|