sudo npm install pm2 -g
{
"apps": [{
"name": "app-8000",| # Set folder to clover (must be the same on travis) | |
| coverage_clover: build/logs/clover.xml | |
| # Same folder here | |
| json_path: build/logs/coveralls-upload.json | |
| # Don't touch that | |
| service_name: travis-ci | |
| # This needs a travis file: https://gist.github.com/khaosdoctor/5f6989c4fc27ecc03955 |
sed -rnE 's/(^\[[0-9]{4}-[0-9]{2}-[0-9]{2}\s[0-9]{2}\:[0-9]{2}\:[0-9]{2}\])(.*)(abc is (online|offline))(.*)/\1 \3/p' lumen-2019-05-09.log