mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-09-06 19:25:32 +00:00
tests: new 'tests-monthly' branch to automate detection of unmaintained projects, syntax errors, broken links
'master' will be merged in this branch on a schedule/periodically to trigger checks against the latest list It does not make sent to run the full URL test suite at every commit on master This also allows to generate the badge at https://github.com/Kickball/awesome-selfhosted/issues/1767 (and on the main page) which will be auto-updated
This commit is contained in:
parent
bf7a2925d2
commit
7216066668
14
.travis.yml
14
.travis.yml
|
@ -1,20 +1,10 @@
|
||||||
language: node_js
|
language: ruby
|
||||||
|
|
||||||
node_js:
|
|
||||||
- "node"
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- rvm install 2.6.2
|
|
||||||
- gem install awesome_bot
|
- gem install awesome_bot
|
||||||
- gem install danger
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- git diff master.. --unified=0 README.md | grep --perl-regexp --only-matching --silent "(?<=^\+).*" >> temp.md || (exit 0)
|
- make monthly
|
||||||
- node tests/test.js temp.md
|
|
||||||
- awesome_bot temp.md --allow-redirect || (exit 0)
|
|
||||||
- danger --dangerfile=tests/Dangerfile --verbose
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
Loading…
Reference in a new issue