OSDN Git Service

don't run Behat tests if unit tests fail
authorscribu <mail@scribu.net>
Mon, 25 Feb 2013 17:02:48 +0000 (19:02 +0200)
committerscribu <mail@scribu.net>
Mon, 25 Feb 2013 17:02:48 +0000 (19:02 +0200)
.travis.yml

index c47713f..b2bab1c 100644 (file)
@@ -28,6 +28,4 @@ before_script:
     - mysql -e 'CREATE DATABASE wp_cli_test;' -uroot
     - mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot
 
-script:
-    - vendor/bin/phpunit
-    - vendor/bin/behat
+script: vendor/bin/phpunit && vendor/bin/behat