summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorKolja Lampe <razzeee@gmail.com>2017-12-14 00:50:27 +0100
committerKolja Lampe <razzeee@gmail.com>2017-12-14 00:52:53 +0100
commit0d6c81454d77a4317158ba426aff49dfae02b8ea (patch)
tree6b4b2352b8d728b89e99afd23df1715c3d22be74 /.travis.yml
parent00398e86e99cff029890531548017c23cb1e0dc3 (diff)
Update repo-checker and travis config
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 33caa66..47f570f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,5 +7,5 @@ install:
# command to run our tests
script:
- - cd .tests
- - python check_repo.py \ No newline at end of file
+ - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then python .tests/check_repo.py; fi'
+ - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then python .tests/check_repo.py $(git diff --name-only HEAD~ | grep / | cut -d / -f1 | sort | uniq); fi'