run deploy commands only when running the build for the master branch
change ci/travis.rb permission
declare method before it's called
Merge branch 'master' into bs-general-refactoring