]> granicus.if.org Git - php/commitdiff
Reformat, setup MySQL DB, call run-tests directly
authorDavey Shafik <me@daveyshafik.com>
Fri, 27 Apr 2012 14:36:33 +0000 (10:36 -0400)
committerDavey Shafik <me@daveyshafik.com>
Mon, 28 May 2012 10:22:25 +0000 (06:22 -0400)
.travis.yml

index feff37ecc4548c9c3ccc3cd7b62d3901f7033bb5..9bc335b058622490917d678558a0414a05395d63 100644 (file)
@@ -1,11 +1,17 @@
 language: php
-# We only specify one version so we only get one worker
+
 php:
+    # We only specify one version so we only get one worker
     - 5.4
-# Compile PHP
+
+env:
+    - REPORT_EXIT_STATUS=1 TEST_PHP_EXECUTABLE=./sapi/cli/php DB=mysql
+
 before_script:
+    # Compile PHP
     - ./travis/compile.sh
-# Return 1 with failed testso
-env: REPORT_EXIT_STATUS=1
-# Run PHP's make test
-script: make test
+    # Create the MySQL test DB
+    - mysql -u root -e "CREATE DATABASE test"
+
+# Run PHPs run-tests.php 
+script: ./sapi/cli/php run-tests.php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP"