build on travis ci only master branch
(cherry picked from commit 81f1bfb)