Add before_script checking tree on travis-ci