Check for all phpdbg compitble php versions
authorBob Weinand <bobwei9@hotmail.com>
Wed, 11 Jun 2014 21:08:55 +0000 (23:08 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Wed, 11 Jun 2014 21:08:55 +0000 (23:08 +0200)
.travis.yml
travis/ci.sh

index 353402858e05fda4855f167380427e9688a13823..d5b492e7cfaa090e9fc78b17755ec07ff970d9cb 100644 (file)
@@ -1,3 +1,12 @@
 language: c
 
-script: ./travis/ci.sh
+env:
+- PHP="PHP-5.4"
+- PHP="PHP-5.5"
+- PHP="PHP-5.6"
+- PHP="master"
+
+before_script: ./travis/ci.sh
+
+script:
+- ./php-src/sapi/cli/php php-src/sapi/phpdbg/tests/run-tests.php -diff2stdout --phpdbg php-src/sapi/phpdbg/phpdbg
index d9f3ac6a02b0694bf7ec5f0a5bbfc0f1d186c17d..78e59a53b668fe6504b8a07068e5a01a463477ea 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env sh
 git clone https://github.com/php/php-src
+git checkout $PHP
 cd php-src/sapi
 rm -rf phpdbg
 git clone https://github.com/krakjoe/phpdbg.git
@@ -7,4 +8,3 @@ cd ../
 ./buildconf --force
 ./configure --disable-all --enable-phpdbg --enable-maintainer-zts
 make
-make test-phpdbg