From 255aa2039e25b1732ae5dcac2b9ac790a1ec7192 Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Mon, 2 Feb 2015 10:36:09 +0100
Subject: [PATCH] [TR] Only run MPI related tests under condition PETSC.

---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 0736a42e9e3..8fbd50d72fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,7 +55,8 @@ script:
   - cd build
   - cmake $CMAKE_ARGS ..
   - make
-  - ./bin/testrunner --gtest_filter=-MPITest* --gtest_shuffle --gtest_repeat=3
+  - if [[ "$CASE" != "CLI_PETSC" ]]; then ./bin/testrunner --gtest_filter=-MPITest* --gtest_shuffle --gtest_repeat=3; fi
+  # PetSc
   - if [[ "$CASE" == "CLI_PETSC" ]]; then make tests_mpi; fi
 
 notifications:
-- 
GitLab