Travis CI pitfalls

Reading time ~1 minute

During implementation of CI infrastructure having PHP, you may face with different errors and strange behaviours.

Permission denied error

/home/travis/ line 45: ./ Permission denied
The command "./" failed and exited with 126 during .

This error happens if you do not have executable bit on your script

chmod +x should fix this error

Environment variables

To be able to use environment variables in your scripts, you need to click More options -> Settings in Travis interface and add it.

Writing logs to syslog with PHP and Monolog on Mac OS

Most *nix-based sustems support syslog storage for different types of system logs.On Mac OS it's also present and we can use it.# Monolog...… Continue reading

Articles to read in 2017

Published on February 18, 2017

Stateless validators

Published on January 04, 2017