-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (51 loc) · 1.36 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: false
language: cpp
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kubuntu-backports
- boost-latest
packages:
- gcc-5
- g++-5
- libc6-dev-i386
- libgfortran-4.9-dev
- cmake
- libmysqlclient-dev
- libxml2-dev
- libgl2ps-dev
- liblog4cxx10
- liblog4cxx10-dev
- libboost-regex1.55-dev
- libboost-filesystem1.55-dev
- libboost-program-options1.55-dev
git:
depth: 1
# Make sure cmake picks up the compiler we want
install:
- export CXX="g++-5" CC="gcc-5"
before_script:
# Install desired version of ROOT
- wget https://root.cern.ch/download/root_v6.14.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -P /tmp/
- tar -xzf /tmp/root_v6.14.00.Linux-ubuntu14-x86_64-gcc4.8.tar.gz
- source ./root/bin/thisroot.sh
- root-config --libs
- root-config --cflags
# Install STAR libraries
- wget http://star-bnl.github.io/star-vertex/star-cvs_dev_1103613b_x86_64.tgz -P /tmp/
- tar -xzf /tmp/star-cvs_dev_1103613b_x86_64.tgz
- export STAR_ROOT_DIR="$PWD/star-cvs_dev_1103613b_x86_64"
script:
- mkdir build/ && cd build/ && pwd
- cmake -DSTAR_ROOT=$STAR_ROOT_DIR ../
- make -j2
- pwd && ls -la ./
- ./stiscan --help
- ./stihify --help
- ./vtxhist --help
- ./vtxreco --help
- ./stargeo --help
- ./evedisp --help
- ./tgeo2shapes --help