Permalink
Browse files

add travis.yml

  • Loading branch information...
chobie committed May 15, 2014
1 parent 0d76122 commit 2e3bd503b0200c0fbec254e89d84d0c88f37cd00
Showing with 39 additions and 0 deletions.
  1. +26 −0 .travis.yml
  2. +13 −0 script/cibuild.sh
View
@@ -0,0 +1,26 @@
language: php
php:
- 5.3
- 5.4
- 5.5
install:
- sudo apt-get -qq update
- sudo apt-get -qq install cmake libssh2-1-dev openssh-client openssh-server
script:
- script/cibuild.sh
notifications:
irc:
channels:
- irc.freenode.net#php-git
on_success: change
on_failure: always
use_notice: true
skip_join: true
slack:
on_success: always
on_failure: always
secure: KH9+7GLccFrGWe+E6RhSqHxh+w5DIdsVxn41Iqb2C8rfm5rrnK0KVDTWJXk2BDHc2B1ab28o6m/Vcd8C/lgURd7yx4QfUASQRrHEn4FfpsB7UgES+/aENb59ma3DVz5PqVDUSVSvABU9OCqEkLmN/9w2mL/q3rW4slUq4LzMweI=
View
@@ -0,0 +1,13 @@
export NO_INTERACTION=1
export TESTS="--show-diff -q"
mkdir $TRAVIS_BUILD_DIR/libgit2/build
cd $TRAVIS_BUILD_DIR/libgit2/build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DCMAKE_C_FLAGS=-fPIC ..
cmake --build .
cd $TRAVIS_BUILD_DIR
phpize
./configure
make
make test

0 comments on commit 2e3bd50

Please sign in to comment.