code: def travis(branch: str):
      
      assert os.environ.get('TRAVIS_BRANCH') == branch
      assert os.environ.get('TRAVIS_PULL_REQUEST') == 'false'
docs: Performs necessary checks to ensure that the travis build is one
      that should create releases.
  
      :param branch: The branch the environment should be running against.