Build only master branch on Travis CI, close #2211