Skip to content

Commit

Permalink
Merge pull request cp3-llbb#62 from blinkseb/travis
Browse files Browse the repository at this point in the history
Add travis support
  • Loading branch information
OlivierBondu committed Dec 16, 2015
2 parents 8c15904 + 7be4f15 commit 7a4c959
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: cpp

compiler:
- gcc

env:
- ROOT_VERSION=6.06.00

addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kalakris-cmake
packages:
- gcc-4.9
- g++-4.9
- git
- make
- cmake
- uuid-dev

install:
- wget http://sbrochet.web.cern.ch/sbrochet/public/ROOT-${ROOT_VERSION}_Python-2.7_Ubuntu-12.04_gcc4.9.tar.xz
- mkdir root
- cd root
- tar xf ../ROOT-${ROOT_VERSION}_Python-2.7_Ubuntu-12.04_gcc4.9.tar.xz
- source bin/thisroot.sh
- cd ..

before_script:
- export CXX=g++-4.9
- export CC=gcc-4.9
- export HF_BUILD_DIR=`pwd`/histFactory/build
- mkdir -p ${HF_BUILD_DIR} && cd ${HF_BUILD_DIR}
- cmake ..

script:
- cd ${HF_BUILD_DIR}
- make

os:
- linux
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Common Tools

[![Build Status](https://travis-ci.org/cp3-llbb/CommonTools.svg)](https://travis-ci.org/cp3-llbb/CommonTools)

Common tools for cp3-llbb analyses, these are here to help getting things done! Dedicated instructions should lie within each subdirectory.

Available tools for now are:
Expand Down

0 comments on commit 7a4c959

Please sign in to comment.