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:
Carlos Martín Nieto 2013-04-29 02:15:51 +02:00
parent 51e4da6d8a
commit fb42a22e2f

View File

@ -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