Add Travis and Appveyor to master branch

Cherry picked these commits from develop