Skip to content

Commit c56e87d

Browse files
committed
use proper travis.yml syntax to conditionally run pre-commit
1 parent 5397110 commit c56e87d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ install:
1717
- pip install -q pre-commit
1818
- pre-commit install
1919
script:
20-
- if [ $TRAVIS_PYTHON_VERSION -ge 3.6 ]; pre-commit run --all-files --show-diff-on-failure; fi
20+
- if [[ "$TRAVIS_PYTHON_VERSION" > "3.5" ]]; then pre-commit run --all-files --show-diff-on-failure; fi
2121
- py.test

0 commit comments

Comments
 (0)