[segyio] 171/376: Only make & test in script to mark failed/error

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 11d7fe3c57940e571673e02437c875c79997b10e
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Mon Feb 13 12:40:27 2017 +0100

    Only make & test in script to mark failed/error
    
    Travis marks failures in before_script as errors and script as failed.
---
 .travis.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 671fec1..e00fb36 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,11 +55,8 @@ before_script:
   - enabled="-DBUILD_PYTHON=OFF -DBUILD_MEX=OFF"
   - if [[ -n "${PYTHON+1}" ]]; then enabled="$enabled -DBUILD_PYTHON=ON"; fi
   - cmake --version
-
-script:
   - mkdir build
   - pushd build
   - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE $enabled  ..
-  - make
-  - export LD_LIBRARY_PATH=$PWD
-  - ctest --output-on-failure
+script:
+  - make && ctest --output-on-failure

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list