-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
158 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
charset = utf-8 | ||
end_of_line = lf | ||
|
||
[*.{json,yml,yaml,js,jsx}] | ||
indent_size = 2 | ||
|
||
[LICENSE] | ||
insert_final_newline = false | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
- bandit | ||
- flake8 | ||
- isort | ||
- pydocstyle | ||
- bandit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,78 @@ | ||
sudo: true | ||
language: python | ||
dist: xenial | ||
|
||
services: redis-server | ||
addons: | ||
apt: | ||
packages: | ||
- chromium-chromedriver | ||
|
||
language: python | ||
python: | ||
- 3.6 | ||
- 3.7 | ||
cache: pip | ||
- "3.6" | ||
- "3.7" | ||
env: | ||
matrix: | ||
- DJANGO=20 | ||
- DJANGO=21 | ||
- DJANGO=22 | ||
- DJANGO=master | ||
- DJANGO=20 | ||
- DJANGO=21 | ||
- DJANGO=22 | ||
- DJANGO=master | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- env: DJANGO=master | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- chromium-chromedriver | ||
|
||
install: pip install tox-travis codecov | ||
|
||
before_script: | ||
- ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver | ||
- | | ||
if [[ -z $TOXENV ]]; then | ||
export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO | ||
fi | ||
- echo $TOXENV | ||
|
||
script: tox | ||
|
||
after_success: codecov | ||
|
||
jobs: | ||
include: | ||
- stage: docs | ||
- python: "3.5" | ||
env: TOXENV=docs | ||
addons: | ||
apt: | ||
packages: | ||
- python3-enchant | ||
- python-enchant | ||
- graphviz | ||
python: "3.5" | ||
script: tox -e docs | ||
- stage: qa | ||
addons: | ||
language: node_js | ||
- language: node_js | ||
addons: {} | ||
install: npm install | ||
script: npm test | ||
node_js: lts/* | ||
cache: npm | ||
states: | ||
- qa | ||
- docs | ||
- test | ||
- deploy | ||
install: | ||
- pip install --upgrade pip tox | ||
- pip install -U codecov | ||
before_script: | ||
- ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver | ||
- | | ||
if [[ -z $TOXENV ]]; then | ||
export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO | ||
fi | ||
- echo $TOXENV | ||
script: | ||
- tox -e $TOXENV | ||
after_success: | ||
- codecov | ||
before_deploy: | ||
- git stash --all | ||
- ./set_version.py | ||
_deploy_provider: &_deploy_provider | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
repo: applegrew/django-select2 | ||
deploy: | ||
- <<: *_deploy_provider | ||
provider: pypi | ||
distributions: sdist bdist_wheel | ||
user: codingjoe | ||
password: | ||
secure: fEP9K7y0ZF9fRvQEUN4kgPXQEZvi3Cx3ikUebG2UM/2uhcaUQm0+KpgZ2S+lvOTYcBnNgzPzFsVIZMcVcTxwIKuQDEMq9y2eop2hnisb9KXsIm9qPYSzOnRm74VuiOt4hNOZMe0qVBK2cO3vC9NDXuzdI8A0JynJhthfl4t+kFM= | ||
- <<: *_deploy_provider | ||
provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: PV38cQx9qhEFkpSdytbM72UzIMCfhpjmRJ8dzT+bCAaOIs5rEcyKN+h1r5ranunCxWyuFsMW4A2iW/SCxnKCR/oPAguuwUbT5ogBXlsskqPFWUxuoTHYMrd+zB+SC6+bMgq+o5ul+kJCYtEkWP6cMlIEzKyTLab7m5PsnDXNVnI= | ||
- stage: deploy | ||
if: tag IS present | ||
python: 3.7 | ||
install: skip | ||
script: skip | ||
after_success: skip | ||
before_deploy: | ||
- git stash --all | ||
- ./set_version.py | ||
_deploy_provider: &_deploy_provider | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
repo: applegrew/django-select2 | ||
deploy: | ||
- <<: *_deploy_provider | ||
provider: pypi | ||
distributions: sdist bdist_wheel | ||
user: codingjoe | ||
password: | ||
secure: fEP9K7y0ZF9fRvQEUN4kgPXQEZvi3Cx3ikUebG2UM/2uhcaUQm0+KpgZ2S+lvOTYcBnNgzPzFsVIZMcVcTxwIKuQDEMq9y2eop2hnisb9KXsIm9qPYSzOnRm74VuiOt4hNOZMe0qVBK2cO3vC9NDXuzdI8A0JynJhthfl4t+kFM= | ||
- <<: *_deploy_provider | ||
provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: PV38cQx9qhEFkpSdytbM72UzIMCfhpjmRJ8dzT+bCAaOIs5rEcyKN+h1r5ranunCxWyuFsMW4A2iW/SCxnKCR/oPAguuwUbT5ogBXlsskqPFWUxuoTHYMrd+zB+SC6+bMgq+o5ul+kJCYtEkWP6cMlIEzKyTLab7m5PsnDXNVnI= |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.