fixing travis

theme-version-to-0.4.x
Safwan Rahman 2018-05-22 04:16:48 +06:00
parent 47ff8d942a
commit c6f39e7680
2 changed files with 7 additions and 3 deletions

View File

@ -11,10 +11,9 @@ matrix:
env: TOXENV=docs
- python: 2.7
env: TOXENV=lint
script: tox
- python: 2.7
env: TOXENV=eslint
script:
- tox "'--including-search'"
cache:
directories:
- ~/.cache/pip
@ -30,7 +29,7 @@ install:
- npm install
- bower install
script:
- tox
- ./scripts/travis/run_tests.sh
notifications:
slack:
rooms:

5
scripts/travis/run_tests.sh Executable file
View File

@ -0,0 +1,5 @@
if ! [[ "$TOXENV" =~ ^(docs|lint|eslint) ]];
then
args="'--including-search'"
fi
tox $args