mybuddy/.travis.yml

35 lines
879 B
YAML
Raw Normal View History

2020-01-27 23:13:27 +00:00
os: linux
language: generic
dist: bionic
jobs:
include:
- name: "Python 3.6"
before_install:
- pyenv global `pyenv versions | tr -d "[:blank:]" | grep -Po "3\.6\.[\d]+" | tail -1`
- name: "Python 3.7"
before_install:
- pyenv global `pyenv versions | tr -d "[:blank:]" | grep -Po "3\.7\.[\d]+" | tail -1`
- name: "Python 3.8"
before_install:
- pyenv global `pyenv versions | tr -d "[:blank:]" | grep -Po "3\.8\.[\d]+" | tail -1`
2017-10-22 21:32:43 +00:00
cache:
directories:
- $HOME/.cache/pip
- node_modules
2017-12-01 04:10:08 +00:00
env:
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
2017-10-22 21:32:43 +00:00
install:
- nvm use 10
2020-01-27 23:13:27 +00:00
- npm install -g gulp-cli
- npm install
- pip install pipenv
- pipenv --python `pyenv which python` install --dev
2017-10-22 21:32:43 +00:00
before_script:
- gulp lint
script:
- gulp coverage
2017-10-22 21:32:43 +00:00
after_success:
- pipenv run coveralls
2017-10-22 21:32:43 +00:00
notifications:
email: false