os: linux
compiler: gcc
language: cpp
git:
  depth: 5
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y x11-common libx11-6 x11-utils gsl-bin libxpm4 libxft2 libpng3 libjpeg-turbo8 libjpeg8 libtiff4 libxml2 libldap-2.4-2 libkrb5-3 freeglut3 libfftw3-3 python libmysqlclient18 libgif4 libiodbc2 libxext6 libxmu6 libimlib2 gccxml wget libpopt-dev libc6-dev-i386
  - sudo apt-get autoremove
  - sudo pip install --egg scons
install:
  - wget http://root.cern.ch/download/root_v5.34.32.Linux-ubuntu12-x86_64-gcc4.6.tar.gz -O /tmp/root.tar.gz
  - tar -xzf /tmp/root.tar.gz
  - source ./root/bin/thisroot.sh
  - source ./setup.sh
script:  scons
branches:
  only:
    - develop
notifications:
  email:
    recipients: saw@jlab.org
    on_success: always
    on_failure: always
