getUsesTravisCi() public method

Get whether bundle uses Travis CI
public getUsesTravisCi ( ) : boolean
return boolean
Exemplo n.º 1
0
 public function bundleTravisUrl(Bundle $bundle)
 {
     return $bundle->getUsesTravisCi() ? sprintf('http://travis-ci.org/%s/%s', $bundle->getOwnerName(), $this->getName()) : null;
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function updateScore(Bundle $bundle)
 {
     $bundle->addScoreDetail('travisci', $bundle->getUsesTravisCi() ? 5 : 0);
     $bundle->addScoreDetail('travisbuild', $bundle->getTravisCiBuildStatus() ? 5 : 0);
 }