OSDN Git Service

travis: install Behat in the local build dir
authorscribu <mail@scribu.net>
Mon, 12 Aug 2013 09:44:49 +0000 (12:44 +0300)
committerscribu <mail@scribu.net>
Mon, 12 Aug 2013 09:44:51 +0000 (12:44 +0300)
bin/ci/install_dependencies.sh
bin/ci/run_build.sh

index 7e83e2d..6fbef59 100755 (executable)
@@ -5,8 +5,7 @@
 set -ex
 
 # install Behat
-sudo curl http://behat.org/downloads/behat.phar > /usr/bin/behat
-chmod +x /usr/bin/behat
+curl http://behat.org/downloads/behat.phar > behat.phar
 
 # install dependencies
 composer install --no-interaction --prefer-source
index 2711478..2fb25df 100755 (executable)
@@ -4,4 +4,4 @@ set -ex
 
 phpunit
 
-behat --format progress
+php behat.phar --format progress