forked from cms-analysis/HiggsAnalysis-KITHiggsToTauTau
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (25 loc) · 863 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
sudo: required
language: cpp
services:
- docker
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 TRAVIS_BRANCH=${TRAVIS_BRANCH}
-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 -b ${TRAVIS_BRANCH} -g 'greyxray' -e '[email protected]' -n 'kappa test'"
notifications:
email: false