OSDN Git Service

travis: move main script to separate file
authorscribu <mail@scribu.net>
Wed, 29 May 2013 17:12:54 +0000 (20:12 +0300)
committerscribu <mail@scribu.net>
Wed, 29 May 2013 17:12:54 +0000 (20:12 +0300)
.travis.yml
bin/ci/run_build.sh [new file with mode: 0755]

index a2fc11f..81e74cf 100644 (file)
@@ -15,8 +15,8 @@ matrix:
 
 before_script: ./bin/ci/install_dependencies.sh
 
-script: vendor/bin/phpunit && vendor/bin/behat --format progress
-
+script: ./bin/ci/run_build.sh
+    
 notifications:
     email:
         on_success: never
diff --git a/bin/ci/run_build.sh b/bin/ci/run_build.sh
new file mode 100755 (executable)
index 0000000..3ed2e35
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -ex
+
+vendor/bin/phpunit
+
+vendor/bin/behat --format progress