-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
53 lines (53 loc) · 3.54 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
sudo: required
language: cpp
services:
- docker
env:
- TEST_CMSSW_VERSION=CMSSW_9_2_4 SCRAM_ARCH=slc6_amd64_gcc530 KAPPA_BRANCH=${TRAVIS_BRANCH} CHECKOUTSCRIPT=checkoutCmssw92xPackagesForSkimming.sh SKIMMING_SCRIPT=Kappa/Skimming/higgsTauTau/kSkimming_run2_cfg.py ADDITIONAL_OUTPUT=true
- TEST_CMSSW_VERSION=CMSSW_8_0_26_patch1 SCRAM_ARCH=slc6_amd64_gcc530 KAPPA_BRANCH=${TRAVIS_BRANCH} CHECKOUTSCRIPT=checkoutCmssw80xPackagesForSkimming.sh SKIMMING_SCRIPT=Kappa/Skimming/higgsTauTau/kSkimming_run2_cfg.py ADDITIONAL_OUTPUT=true
- TEST_CMSSW_VERSION=CMSSW_7_6_3 SCRAM_ARCH=slc6_amd64_gcc493 KAPPA_BRANCH=${TRAVIS_BRANCH} CHECKOUTSCRIPT=checkoutCmssw76xPackagesForSkimming.sh SKIMMING_SCRIPT=Kappa/Skimming/higgsTauTau/kSkimming_run2_cfg.py ADDITIONAL_OUTPUT=false
#- TEST_CMSSW_VERSION=CMSSW_5_3_29 SCRAM_ARCH=slc6_amd64_gcc472 CHECKOUTSCRIPT=checkoutCmssw76xPackagesForSkimming.sh SKIMMING_SCRIPT=Kappa/Skimming/higgsTauTau/kSkimming_run2_cfg.py ADDITIONAL_OUTPUT=false
# skim_tutorial1_basic.py - checkoutDummy.sh and checkoutTauRefit.py are not available
#- CHECKOUTSCRIPT=checkoutTauRefit.py SKIMMING_SCRIPT=Kappa/Skimming/examples/skim_tutorial1_basic.py ADDITIONAL_OUTPUT=false
#- CHECKOUTSCRIPT=checkoutDummy.sh SKIMMING_SCRIPT=Kappa/Skimming/examples/skim_tutorial1_basic.py ADDITIONAL_OUTPUT=false
#- CHECKOUTSCRIPT=checkoutDummy.sh SKIMMING_SCRIPT=Kappa/Skimming/examples/skim_tutorial1_basic.py ADDITIONAL_OUTPUT=false
# skim_tutorial2_configured - checkoutDummy.sh and checkoutTauRefit.py are not available
#- CHECKOUTSCRIPT=checkoutTauRefit.py SKIMMING_SCRIPT=Kappa/Skimming/examples/skim_tutorial2_configured.py ADDITIONAL_OUTPUT=false
#- CHECKOUTSCRIPT=checkoutDummy.sh SKIMMING_SCRIPT=Kappa/Skimming/examples/skim_tutorial2_configured.py ADDITIONAL_OUTPUT=false
# skim_tutorial4_full.py - empty
# skim_tutorial9_HEPMC.py - configuration loads a hepmc file and converts it to kappa skimmed file. does not run properly
#
# zjet/
# skim_53_cfg.py - re-do path to checkout script
#- CHECKOUTSCRIPT=zjet/checkout53.sh SKIMMING_SCRIPT=Kappa/Skimming/zjet/skim_53_cfg.py ADDITIONAL_OUTPUT=false
# skim_74_cfg.py - re-do path to checkout script
#- CHECKOUTSCRIPT=zjet/checkout74.sh SKIMMING_SCRIPT=Kappa/Skimming/zjet/skim_74_cfg.py ADDITIONAL_OUTPUT=false
# skim_76_cfg.py - no checkoutTauRefit.sh
#- CHECKOUTSCRIPT=checkoutTauRefit.sh SKIMMING_SCRIPT=Kappa/Skimming/zjet/skim_76_cfg.py ADDITIONAL_OUTPUT=false
compiler:
- gcc
before_install:
- docker pull claria/cvmfs-cms
before_script:
- echo $HOME
- sudo curl -o $HOME/short_rootfiles.tar https://cernbox.cern.ch/index.php/s/WeawecKp2BD2BH2/download
- echo $HOME
- ls $HOME
- sudo tar -xvf $HOME/short_rootfiles.tar -C /home/
- sudo ls /home/short
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- docker run --privileged -e TEST_CMSSW_VERSION=${TEST_CMSSW_VERSION}
-e SCRAM_ARCH=${SCRAM_ARCH}
-e KAPPA_BRANCH=${KAPPA_BRANCH}
-e CHECKOUTSCRIPT=${CHECKOUTSCRIPT}
-e SKIMMING_SCRIPT=${SKIMMING_SCRIPT}
-e ADDITIONAL_OUTPUT=${ADDITIONAL_OUTPUT}
-v ${TRAVIS_BUILD_DIR}:/home/travis
-v '/home/short:/home/short' claria/cvmfs-cms /bin/bash
-c "cd /home/; source /home/travis/test_build.sh -g 'greyxray' -e 'greyxray@gmail.com' -n 'kappa test'"
notifications:
email:
- greyxray@gmail.com