https://github.com/pryrt/modsmoke
OnDemand CPAN Module SmokeTester Using CI
https://github.com/pryrt/modsmoke
Last synced: 3 months ago
JSON representation
OnDemand CPAN Module SmokeTester Using CI
- Host: GitHub
- URL: https://github.com/pryrt/modsmoke
- Owner: pryrt
- Created: 2018-07-21T15:30:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-03T15:58:14.000Z (over 6 years ago)
- Last Synced: 2025-03-06T10:56:00.222Z (over 1 year ago)
- Language: Perl
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# modsmoke
Use AppVeyor and Travis CI environments to install a list of cpan modules under various perls, and automatically send the results to cpantesters.
The ModuleList contains all the arguments that will be sent to cpanm for installation.
## TODO
Eventually, I'll want to figure out a way to keep track of which versions of a given module have been tested under a given perl, so that I don't keep re-doing the same tests... but for now, I'm just going to work on proof of concept.
## Development Notes
Within about 10 minutes, the new reports should show up in http://metabase.cpantesters.org/tail/log.txt
### .cpanreporter directory location
By running cpanm-reporter without a config, I got error messages
* travis-ci: file '/home/travis/.cpanreporter/config.ini' not found
* appveyor: file 'C:\Users\appveyor\.cpanreporter\config.ini' not found
So now I know where those go.
### Encrypting .cpanreporter configuration
https://www.appveyor.com/docs/how-to/secure-files/
* Grabbed the appveyor-tools via powershell
* %userprofile%\appveyor-tools\secure-file -encrypt metabase_id.json -secret MYSECRET1234
(except use the real password)
* worked
https://docs.travis-ci.com/user/encrypting-files
* so, Travis requires Ruby to encrypt...
### Skipping builds
Both [AppVeyor](https://www.appveyor.com/docs/how-to/filtering-commits/) and [Travis-CI](https://docs.travis-ci.com/user/customizing-the-build/) will obey `[skip ci]` or `[ci skip]`.
AppVeyor also allows `[skip appveyor]`, but I cannot find an Travis-CI-specific equivalent documented.