Fixed Undefined class constant error in travis-ci