forked from JeffersonLab/hcana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 923 Bytes
/
.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
os: linux
compiler: gcc
language: cpp
dist: trusty
sudo: false
env:
global:
- MAKEFLAGS="-j2"
- SCONSFLAGS="-j2"
- HCANALYZER="."
- ANALYZER="podd"
- LD_LIBRARY_PATH=$ANALYZER:$HCANALYZER:$LD_LIBRARY_PATH
git:
depth: 5
before_install:
- sudo apt-get update -qq
- sudo apt-get autoremove
- sudo pip install --egg scons
install:
- wget https://root.cern.ch/download/root_v6.12.06.Linux-ubuntu14-x86_64-gcc4.8.tar.gz -O /tmp/root.tar.gz
- pwd
- 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
after_success:
- cd $TRAVIS_BUILD_DIR
- pwd
- ldd $HCANALYZER/hcana
- $HCANALYZER/hcana --version
- $HCANALYZER/hcana -q
branches:
only:
- develop
notifications:
email:
recipients: [email protected]
on_success: always
on_failure: always