Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
b670b916
Commit
b670b916
authored
7 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
Remove the Parrot Connector and mount cvmfs directly. Replace CernVM docker with plain docker
parent
3c4f5a19
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+24
-7
24 additions, 7 deletions
.travis.yml
with
24 additions
and
7 deletions
.travis.yml
+
24
−
7
View file @
b670b916
...
@@ -4,20 +4,37 @@ dist: trusty
...
@@ -4,20 +4,37 @@ dist: trusty
services
:
services
:
-
docker
-
docker
env
:
matrix
:
-
COMPILER=gcc
before_install
:
-
wget https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb
-
sudo dpkg -i cvmfs-release-latest_all.deb
-
sudo apt-get update
-
sudo apt-get install cvmfs cvmfs-config-default
-
rm -f cvmfs-release-latest_all.deb
-
wget https://lcd-data.web.cern.ch/lcd-data/CernVM/default.local
-
sudo mkdir -p /etc/cvmfs
-
sudo mv default.local /etc/cvmfs/default.local
-
sudo /etc/init.d/autofs stop
-
sudo cvmfs_config setup
-
sudo mkdir -p /cvmfs/clicdp.cern.ch
-
sudo mount -t cvmfs clicdp.cern.ch /cvmfs/clicdp.cern.ch
-
ls /cvmfs/clicdp.cern.ch
# command to install dependencies
# command to install dependencies
install
:
install
:
-
shopt -s extglob dotglob
-
shopt -s extglob dotglob
-
mkdir
DD4hep
-
mkdir
Package
-
mv !(
DD4hep) DD4hep
-
mv !(
Package) Package
-
shopt -u dotglob
-
shopt -u dotglob
-
export DD4hepDIR=${PWD}/DD4hep
-
export PKGDIR=${PWD}/Package
-
cat $DD4hepDIR/.dd4hep-ci.d/compile_and_test.sh
-
curl -O https://lcd-data.web.cern.ch/lcd-data/CernVM/cernvm3-docker-latest.tar
-
cat cernvm3-docker-latest.tar | docker import - cernvm
# command to run tests
# command to run tests
script
:
script
:
-
docker run -t -v $DD4hepDIR:/DD4hep cernvm /init /DD4hep/.dd4hep-ci.d/compile_and_test.sh
-
docker run -t --name CI_container -v $PKGDIR:/Package -e COMPILER=$COMPILER -v /cvmfs/clicdp.cern.ch:/cvmfs/clicdp.cern.ch -d clicdp/slc6-build /bin/bash
-
docker exec CI_container /bin/bash -c "./Package/.dd4hep-ci.d/compile_and_test.sh"
# Don't send e-mail notifications
# Don't send e-mail notifications
notifications
:
notifications
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment