From a77e73a91be8026b924249fce81b1ea9917fdf61 Mon Sep 17 00:00:00 2001
From: "Stephen A. Wood" <saw@jlab.org>
Date: Wed, 28 Mar 2018 11:39:25 -0400
Subject: [PATCH] Apply analyzer travis updates to hcana travis   Newer root
 version   Do make and scons   Do ldd and version check after building   Print
 python and scons versions

---
 .travis.yml | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 12931de..2de8581 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,14 @@ os: linux
 compiler: gcc
 language: cpp
 dist: trusty
+sudo: false
+env:
+  global:
+    - MAKEFLAGS="-j2"
+    - SCONSFLAGS="-j2"
+    - HCANALYZER="."
+    - ANALYZER="podd"
+    - LD_LIBRARY_PATH=$ANALYZER:$HCANALYZER:$LD_LIBRARY_PATH
 git:
   depth: 5
 before_install:
@@ -9,12 +17,21 @@ before_install:
   - sudo apt-get autoremove
   - sudo pip install --egg scons
 install:
-  - wget https://root.cern.ch/download/root_v6.10.02.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -O /tmp/root.tar.gz
+  - wget https://root.cern.ch/download/root_v6.12.06.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -O /tmp/root.tar.gz
   - pwd
   - tar -xzf /tmp/root.tar.gz
   - source ./root/bin/thisroot.sh
   - source ./setup.sh
-script:  scons
+  - python --version
+  - scons --version
+script:
+  - make
+  - scons
+after_success:
+  - pwd
+  - ldd $HCANALYZER/hcana
+  - $HCANALYZER/hcana --version
+  - $HCANALYZER/hcana -q
 branches:
   only:
     - develop
-- 
GitLab