Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Add Travis configuration #37

Merged
merged 2 commits into from
Apr 11, 2018
Merged

Add Travis configuration #37

merged 2 commits into from
Apr 11, 2018

Conversation

thiemowmde
Copy link
Collaborator

@thiemowmde thiemowmde commented Apr 10, 2018

Mostly copy-pasted from https://github.com/wmde/WikibaseDataModel/blob/master/.travis.yml, except for the notifications. Also there is nothing about coverage, as it is not relevant here.

@lucaswerkmeister
Copy link
Member

Hm, I don’t see anything coverage-related in the WikibaseDataModel file – the main difference I can see is the missing notifications.

This commit itself looks good to me, but now I’m confused about the commit message…

@thiemowmde
Copy link
Collaborator Author

That was a mistake. I looked at several existing Travis configurations, and many of them contain a section about test coverage.

@@ -53,6 +53,7 @@ public function testCodeSnifferStandardFiles( $sniff, $file ) {
$config = new Config();
$config->standards = [ __DIR__ . '/..' ];
$config->sniffs = [ $sniff ];
$config->reportWidth = 140;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional addition?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Without this, Travis uses a default of 80, which changes all test outputs.

@lucaswerkmeister lucaswerkmeister merged commit 2c36b97 into master Apr 11, 2018
@lucaswerkmeister lucaswerkmeister deleted the travis branch April 11, 2018 10:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants