diff --git a/.travis.yml b/.travis.yml index 12931de7a3ccc6edf692d795483937489bd4130b..2de858187a848cb1f96509ad0c0c78c383074a21 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