Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-04-29 04:15:51 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-04-29 04:15:51 +0400
commitfb42a22e2fedeca8a5d0fa4a32653285374e689d (patch)
tree3477d5f936bffe89f71eff744f8e342f6024b8c2 /.travis.yml
parent51e4da6d8aa4a3a961d49197b004dbf7ccee8612 (diff)
travis: test push
Create a test repository in the VM and set up git-daemon so we can use it to test the push code.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ad1172dfa..0d5746f2e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,6 +25,10 @@ install:
# Run the Build script
script:
+ - mkdir _temp
+ - git init --bare _temp/test.git
+ - git daemon --listen=localhost --export-all --enable=receive-pack --base-path=_temp _temp 2>/dev/null &
+ - export GITTEST_REMOTE_URL="git://localhost/test.git"
- mkdir _build
- cd _build
- cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS