mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-04 10:57:29 +00:00
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.
This commit is contained in:
parent
51e4da6d8a
commit
fb42a22e2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user