Fix travis-ci build

Hide require_once under a !in_array condition to prevent iclusion of unwanted files.