Add badges to ReadMe and corrected CI links in Contributing [skip ci]
This commit is contained in:
parent
405325c08a
commit
4fb675336d
@ -111,10 +111,10 @@ We probably find a solution for that.
|
|||||||
|
|
||||||
## Continuous Integration
|
## Continuous Integration
|
||||||
|
|
||||||
Automated tests are run using [Travis CI](https://travis-ci.org/stklcode/wp-liveticker2) for every commit including pull requests.
|
Automated tests are run using [Travis CI](https://travis-ci.org/stklcode/wp-liveticker) for every commit including pull requests.
|
||||||
They ensure compatibility with the supported PHP versions and the WP Coding Standards.
|
They ensure compatibility with the supported PHP versions and the WP Coding Standards.
|
||||||
|
|
||||||
There is also a semi-automated code quality analysis pushing results to [SonarCloud](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker2).
|
There is also a semi-automated code quality analysis pushing results to [SonarCloud](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker).
|
||||||
Keep in mind that the ruleset is not yet perfect, so not every minor issue has to be fixed immediately.
|
Keep in mind that the ruleset is not yet perfect, so not every minor issue has to be fixed immediately.
|
||||||
|
|
||||||
## Still Open Questions?
|
## Still Open Questions?
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
[](https://travis-ci.org/stklcode/wp-liveticker)
|
||||||
|
[](https://sonarcloud.io/dashboard?id=de.stklcode.web.wordpress.plugins%3Awp-liveticker)
|
||||||
|
[](https://packagist.org/packages/stklcode/wp-liveticker)
|
||||||
|
[](https://github.com/stklcode/wp-liveticker/blob/master/LICENSE.md)
|
||||||
|
|
||||||
# Liveticker (by stklcode)
|
# Liveticker (by stklcode)
|
||||||
|
|
||||||
* Contributors: Stefan Kalscheuer
|
* Contributors: Stefan Kalscheuer
|
||||||
|
@ -146,6 +146,12 @@ class RoboFile extends Tasks {
|
|||||||
$this->_copy( 'stklcode-liveticker.php', $this->target_dir . '/' . $this->final_name . '/stklcode-liveticker.php' );
|
$this->_copy( 'stklcode-liveticker.php', $this->target_dir . '/' . $this->final_name . '/stklcode-liveticker.php' );
|
||||||
$this->_copy( 'README.md', $this->target_dir . '/' . $this->final_name . '/README.md' );
|
$this->_copy( 'README.md', $this->target_dir . '/' . $this->final_name . '/README.md' );
|
||||||
$this->_copy( 'LICENSE.md', $this->target_dir . '/' . $this->final_name . '/LICENSE.md' );
|
$this->_copy( 'LICENSE.md', $this->target_dir . '/' . $this->final_name . '/LICENSE.md' );
|
||||||
|
|
||||||
|
// Remove content before title (e.g. badges) from README file.
|
||||||
|
$this->taskReplaceInFile( $this->target_dir . '/' . $this->final_name . '/README.md' )
|
||||||
|
->regex( '/^[^\\#]*/' )
|
||||||
|
->to( '' )
|
||||||
|
->run();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user