forked from cp3-llbb/Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request cp3-llbb#62 from blinkseb/travis
Add travis support
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters