mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-05-02 02:44:42 +00:00
Add standardjs linter
This commit is contained in:
parent
9a658b3b0f
commit
c235c2e3f0
1 changed files with 8 additions and 5 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -46,13 +46,16 @@ before_script:
|
|||
- curl -Lo geckodriver.tar.gz "https://github.com/mozilla/geckodriver/releases/download/${GECKO_DRIVER_VERSION}/geckodriver-${GECKO_DRIVER_VERSION}-linux64.tar.gz"
|
||||
- tar xzf geckodriver.tar.gz -C bin
|
||||
- PATH=$PATH:$PWD/bin
|
||||
script:
|
||||
- nvm install --lts
|
||||
- npm install -g standard
|
||||
- |
|
||||
if [[ -z $DJANGO ]]; then
|
||||
tox -e $TOXENV
|
||||
else
|
||||
tox -e py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
|
||||
if [[ -z $TOXENV ]]; then
|
||||
export TOXENV=py$(echo $TRAVIS_PYTHON_VERSION | sed -e 's/\.//g')-dj$DJANGO
|
||||
fi
|
||||
- echo $TOXENV
|
||||
script:
|
||||
- tox -e $TOXENV
|
||||
- standard
|
||||
after_success:
|
||||
- coveralls
|
||||
deploy:
|
||||
|
|
|
|||
Loading…
Reference in a new issue