initial travis ci build

This commit is contained in:
Nico von Geyso
2012-05-28 15:32:37 +02:00
parent e7b5560590
commit 6ccb8306d4
2 changed files with 26 additions and 0 deletions

12
.travis.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
cd ~
git clone -b master https://github.com/libgit2/libgit2.git
cd libgit2/
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=../_install
cmake --build . --target install
ls -la ..

14
.travis.yml Normal file
View File

@@ -0,0 +1,14 @@
language: python
python:
- "2.7"
- "3.2"
env: LIBGIT2=~/libgit2/_install/ LD_LIBRARY_PATH=~/libgit2/_install/lib
before_install:
- sudo apt-get install cmake
- "./.travis.sh"
script:
- python setup.py test