Updated RoboFile.php

This commit is contained in:
Gregorio Chiko Putra 2018-08-03 15:01:23 +07:00
parent 3116d76982
commit 48d88cf61b

View File

@ -9,9 +9,20 @@ class RoboFile extends \Robo\Tasks
public function testServer()
{
$this->taskSshExec('192.168.1.17', 'root')
# change the directory
->remoteDir('/var/www')
->exec('echo hello')
->exec('ls -al')
# clone the repository
->exec('git clone git@repo.waf.or.id:gregorio/laraland.git')
# install dependencies
->exec('composer install')
# run test
->exec('vendor/bin/codecept run acceptance')
# execute above commands
->run();
}
}