From 02eaf4af308ca881c5ee734ce8297a2b8e27e6e6 Mon Sep 17 00:00:00 2001
From: matta adrien <matta@lpccaen.in2p3.fr>
Date: Tue, 11 Oct 2016 09:21:37 +0200
Subject: [PATCH] * Change notification rules in travis * fix call of
 ShowResult in basic.sh test

---
 .travis.yml                 | 12 ++++++------
 NPLib/scripts/test/basic.sh |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fb4c6ca1f..709033c3a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -59,9 +59,9 @@ addons:
     - libexpat1
     - ninja-build
 
-notifications:
-  email:
-    recipients:
-      - support@nptool.org
-    on_success: change
-    on_failure: always
+#notifications:
+#  email:
+#    recipients:
+#      - support@nptool.org
+#    on_success: change
+#    on_failure: always
diff --git a/NPLib/scripts/test/basic.sh b/NPLib/scripts/test/basic.sh
index 12deffa93..d39579ba7 100755
--- a/NPLib/scripts/test/basic.sh
+++ b/NPLib/scripts/test/basic.sh
@@ -29,8 +29,8 @@ then
    cp $NPTOOL/NPData/Example1_Simu.root $NPTOOL/Outputs/Simulation/Example1.root
    # Run npanalysis
    npanalysis -R RunToTreat.txt -O Example1
-   # Run the ShowResult ROOT macro
-   echo ".q" | root -b -l ShowResult.C
+   # Run the ShowResults ROOT macro
+   echo ".q" | root -b -l ShowResults.C
 else
    # Case where reference simulation file does not exist
    echo "Warning!!! file $NPTOOL/NPData/Example1_Simu.root does not exist"
@@ -60,8 +60,8 @@ then
    cp $NPTOOL/NPData/Example2_Simu.root $NPTOOL/Outputs/Simulation/Example2.root
    # Run npanalysis
    npanalysis -R RunToTreat.txt -O Example2
-   # Run the ShowResult ROOT macro
-   echo ".q" | root -b -l ShowResult.C
+   # Run the ShowResults ROOT macro
+   echo ".q" | root -b -l ShowResults.C
 else
    # Case where reference simulation file does not exist
    echo "Warning!!! file $NPTOOL/NPData/Example1_Simu.root does not exist"
-- 
GitLab