Skip to content

Commit

Permalink
Add debug info for travis scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
pastika committed Feb 13, 2020
1 parent f476186 commit d52b3bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ compiler:

script:
- chmod +x $TRAVIS_BUILD_DIR/.travis/runTests.sh
- echo "UID" $(id -u)
- echo "GID" $(id -g)
- pwd
- ls -la
- ls -la ..
- sudo docker run -it -P --device /dev/fuse --cap-add SYS_ADMIN -e CVMFS_MOUNTS="cms.cern.ch oasis.opensciencegrid.org" -e MY_UID=$(id -u) -e MY_GID=$(id -g) -v $TRAVIS_BUILD_DIR:$TRAVIS_BUILD_DIR $DOCKER_CONTAINER $TRAVIS_BUILD_DIR/.travis/runTests.sh $TRAVIS_BUILD_DIR

after_success:
Expand Down
6 changes: 6 additions & 0 deletions .travis/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ CMSSW_VERSION=CMSSW_10_2_9
set -ex

TRAVIS_BUILD_DIR=$1
echo "UID" $(id -u)
echo "GID" $(id -g)
pwd
ls -la
cd $TRAVIS_BUILD_DIR/..
pwd
ls -la
export VO_CMS_SW_DIR=/cvmfs/cms.cern.ch
export SCRAM_ARCH=slc6_amd64_gcc630
export CMSSW_GIT_REFERENCE=/cvmfs/cms.cern.ch/cmssw.git/
Expand Down

0 comments on commit d52b3bf

Please sign in to comment.