Skip to content
Snippets Groups Projects
.travis.yml 923 B
Newer Older
os: linux
compiler: gcc
language: cpp
sudo: false
env:
  global:
    - MAKEFLAGS="-j2"
    - SCONSFLAGS="-j2"
    - HCANALYZER="."
    - ANALYZER="podd"
    - LD_LIBRARY_PATH=$ANALYZER:$HCANALYZER:$LD_LIBRARY_PATH
before_install:
  - sudo apt-get update -qq
  - sudo apt-get autoremove
  - sudo pip install --egg scons
  - wget https://root.cern.ch/download/root_v6.12.06.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -O /tmp/root.tar.gz
  - tar -xzf /tmp/root.tar.gz
  - source ./root/bin/thisroot.sh
  - source ./setup.sh
  - python --version
  - scons --version
script:
  - scons
  - mkdir build; cd build; cmake ..; make
  - cd $TRAVIS_BUILD_DIR
  - pwd
  - ldd $HCANALYZER/hcana
  - $HCANALYZER/hcana --version
  - $HCANALYZER/hcana -q
branches:
  only:
    - develop
notifications:
  email:
    recipients: saw@jlab.org
    on_success: always
    on_failure: always