fix travis-ci build path

This commit is contained in:
Gamonoid
2016-11-25 14:49:40 +01:00
parent 564ce43c18
commit 55f8ae364f
4 changed files with 9 additions and 3 deletions

View File

@@ -11,4 +11,7 @@ php:
- '5.6' - '5.6'
- '7.0' - '7.0'
- hhvm - hhvm
- nightly - nightly
icehrm.test.log

View File

@@ -30,3 +30,5 @@ foreach ($scripts as $insql){
$command = "cat ".$insql."| mysql -u".MYSQL_ROOT_USER." -p".MYSQL_ROOT_PASS." '".APP_DB."'"; $command = "cat ".$insql."| mysql -u".MYSQL_ROOT_USER." -p".MYSQL_ROOT_PASS." '".APP_DB."'";
exec($command); exec($command);
} }
echo "Bootstrapping done!!"."\r\n";

View File

@@ -1,5 +1,5 @@
<?php <?php
echo "FileServiceTest"."\r\n";
if(!class_exists("TestTemplate")) { if(!class_exists("TestTemplate")) {
include dirname(__FILE__).'/../TestTemplate.php'; include dirname(__FILE__).'/../TestTemplate.php';
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
echo "LanguageManagerTest"."\r\n";
if(!class_exists("TestTemplate")) { if(!class_exists("TestTemplate")) {
include dirname(__FILE__).'/../TestTemplate.php'; include dirname(__FILE__).'/../TestTemplate.php';
} }
@@ -14,7 +15,7 @@ class LanguageManagerTest extends TestTemplate{
public function testSample(){ public function testSample(){
echo "LanguageManagerTest testSample"."\r\n";
$this->p("cat|".LanguageManager::tran('cat')); $this->p("cat|".LanguageManager::tran('cat'));
$this->p("cat|".LanguageManager::tran('cat')); $this->p("cat|".LanguageManager::tran('cat'));