mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-03-16 21:40:23 +00:00
52 lines
1 KiB
YAML
52 lines
1 KiB
YAML
language: python
|
|
cache:
|
|
- apt
|
|
- pip
|
|
services:
|
|
- redis
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- chromium-chromedriver
|
|
- python3-enchant
|
|
- python-enchant
|
|
- graphviz
|
|
python:
|
|
- "3.6"
|
|
env:
|
|
matrix:
|
|
- DJANGO=111
|
|
- DJANGO=20
|
|
- DJANGO=master
|
|
- TOXENV=qa
|
|
- TOXENV=docs
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- env: DJANGO=master
|
|
install:
|
|
- pip install --upgrade pip tox
|
|
- pip install -U codecov
|
|
before_script:
|
|
- ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
|
|
- nvm install --lts
|
|
- npm install -g standard
|
|
- |
|
|
if [[ -z $TOXENV ]]; then
|
|
export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
|
|
fi
|
|
- echo $TOXENV
|
|
script:
|
|
- standard
|
|
- tox -e $TOXENV
|
|
after_success:
|
|
- codecov
|
|
deploy:
|
|
provider: pypi
|
|
user: codingjoe
|
|
password:
|
|
secure: fEP9K7y0ZF9fRvQEUN4kgPXQEZvi3Cx3ikUebG2UM/2uhcaUQm0+KpgZ2S+lvOTYcBnNgzPzFsVIZMcVcTxwIKuQDEMq9y2eop2hnisb9KXsIm9qPYSzOnRm74VuiOt4hNOZMe0qVBK2cO3vC9NDXuzdI8A0JynJhthfl4t+kFM=
|
|
on:
|
|
tags: true
|
|
distributions: sdist bdist_wheel
|
|
repo: applegrew/django-select2
|