Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
[ChangelogLinker] run Travis unsupported tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 10, 2018
1 parent 7bffd6e commit d77ba8e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ public function testGetMessageWithoutPackage(): void

public function testTagDetection(): void
{
// @see https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
if (getenv('TRAVIS')) {
$this->markTestSkipped('Travis makes shallow clones, so unable to test commits/tags.');
}

$pullRequest = [
'number' => 10,
'title' => '[SomePackage] SomeMessage',
Expand Down
10 changes: 0 additions & 10 deletions packages/ChangelogLinker/tests/ChangelogDumper/WithTagsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ protected function setUp(): void

public function testReportChanges(): void
{
// @see https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
if (getenv('TRAVIS')) {
$this->markTestSkipped('Travis makes shallow clones, so unable to test commits/tags.');
}

$content = $this->changelogDumper->reportChangesWithHeadlines($this->changes, false, false, 'categories');

$this->assertStringEqualsFile(__DIR__ . '/WithTagsSource/expected1.md', $content);
Expand All @@ -49,11 +44,6 @@ public function testReportBothWithCategoriesPriority(
?string $priority,
string $expectedOutputFile
): void {
// @see https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
if (getenv('TRAVIS')) {
$this->markTestSkipped('Travis makes shallow clones, so unable to test commits/tags.');
}

$content = $this->changelogDumper->reportChangesWithHeadlines(
$this->changes,
$withCategories,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ final class GitCommitDateTagResolverTest extends TestCase

protected function setUp(): void
{
// @see https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
if (getenv('TRAVIS')) {
$this->markTestSkipped('Travis makes shallow clones, so unable to test commits/tags.');
}

$this->gitCommitDateTagResolver = new GitCommitDateTagResolver();
}

Expand Down

0 comments on commit d77ba8e

Please sign in to comment.