我目前正在使用travis进行多语言项目(PHP,JAVA,Nodejs)。 但是当我尝试使用带有travis的php时,我得到了这个错误:
static void insertShoeSizes(Args _args)
{
SycShoeSizeTable shoeSizeTable;
container sizes, conTake;
int i;
;
sizes = [[35.0 , 3.5]];
sizes +=[[35.5 , 4.0]];
sizes +=[[36.0 , 4,5]];
sizes +=[[37.0 , 5.0]];
sizes +=[[37.5 , 5.5]];
sizes +=[[38.0 , 6.0]];
sizes +=[[38.5 , 6.5]];
sizes +=[[39.0 , 7.0]];
sizes +=[[40.0 , 7.5]];
sizes +=[[41.0 , 8.0]];
sizes +=[[42.0 , 8.5]];
sizes +=[[43.0 , 9.0]];
sizes +=[[44.0 , 10.5]];
sizes +=[[45.0 , 11.5]];
sizes +=[[46.5 , 12.5]];
sizes +=[[48.5 , 14.0]];
for(i=1; i<=conLen(sizes); i++)
{
conTake = conPeek(sizes,i);
shoeSizeTable.clear();
shoeSizeTable.SycSizeEurope = conPeek(conTake,1);
shoeSizeTable.SycSizeUSandCanada = conPeek(conTake,2);
shoeSizeTable.insert();
}
}
我使用了本教程:https://docs.travis-ci.com/user/languages/php#Apache-%2B-PHP