summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 5d57150..a915f7a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,6 +82,12 @@ matrix:
packages:
- xvfb
before_script:
+ - |
+ if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
+ then
+ echo "Don't run Python coverage on pull requests."
+ exit
+ fi
- ./configure
- make -j4
# Need a venv that can parse covered code.
@@ -109,6 +115,12 @@ matrix:
- lcov
- xvfb
before_script:
+ - |
+ if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]
+ then
+ echo "Don't run C coverage on pull requests."
+ exit
+ fi
- ./configure
script:
- xvfb-run make -j4 coverage-report