Add syntax check to before_script