Skip to content

Commit

Permalink
add recki to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
krakjoe committed Sep 4, 2014
1 parent b17e5ca commit bef0166
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: c

before_install:
- sudo apt-get update -qq
- sudo apt-get install texinfo
- sudo apt-get install texinfo curl

before_script:
- ./travis/compile-php.sh
Expand All @@ -11,4 +11,5 @@ before_script:

script:
- ./travis/run-tests.sh
- ./travis/run-recki-tests.sh

7 changes: 2 additions & 5 deletions travis/compile-ext.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/bin/sh -x

set -e

cd $TRAVIS_BUILD_DIR

$HOME/bin/phpize

./configure --with-php-config=$HOME/bin/php-config --with-jitfu=$HOME

make -j2 --quiet
make install
echo "extension=jitfu.so" > $HOME/php.d/jitfu.ini
3 changes: 2 additions & 1 deletion travis/compile-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ git clone https://github.com/php/php-src $HOME/php/src
cd $HOME/php/src
git checkout PHP-5.6
./buildconf --force
./configure --prefix=$HOME --disable-all --enable-debug
./configure --prefix=$HOME --disable-all --enable-debug --with-config-file-path=$HOME --with-config-file-scan-dir=$HOME/php.d
make -j2 --quiet install
cp php.ini-development $HOME

9 changes: 9 additions & 0 deletions travis/run-recki-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -e
cd $HOME
git clone https://github.com/google/recki-ct
cd recki-ct
curl -sS https://getcomposer.org/installer | $HOME/bin/php
$HOME/bin/php composer.phar install --dev
$HOME/bin/php vendor/bin/phpunit

0 comments on commit bef0166

Please sign in to comment.