chore: fix travis deploy

Use TRAVIS_BRANCH env variable to detect correctly the current branch
and deploy to gh-pages only from when merged to master