commit 08a91e7272f1fa50bb7de92ebec8ec23eadf66a5
parent ed6617c4f1c7d5a101f1cf35ff02842a0b144839
Author: Marcel <info@nordgedanken.de>
Date: Sat, 24 Oct 2015 11:42:16 +0200
fix tests
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -16,12 +16,10 @@ before_script:
- sudo apt-get install -y -qq libssh2-1-dev libssh2-php
- pecl install -f ssh2-beta < libs/php-ssh/.noninteractive
- php -m | grep ssh2
- - ls -la
- cd libs/php-ssh
- composer self-update
- composer install --dev
- cd ../..
- - ls -la
- echo `whoami`":1234" | sudo chpasswd
#RunTests
script:
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
@@ -2,7 +2,7 @@
include_once('AutoLoader.php');
AutoLoader::registerDirectory('tests');
-$filename = __DIR__.'libs/php-ssh/vendor/autoload.php';
+$filename = __DIR__.'/libs/php-ssh/vendor/autoload.php';
if (!file_exists($filename)) {
echo 'You must first install the vendors using composer.'.PHP_EOL;