travis: build only master and dev branches