I have two builds at the same time when doing PR.
[![Github Image](https://i.stack.imgur.com/QqREB.png)](https://i.stack.imgur.com/QqREB.png)

According to docs, that could be turned off via [web interface](https://docs.travis-ci.com/user/web-ui/#build-pushed-branches)
[![web interface](https://i.stack.imgur.com/r9zaa.png)](https://i.stack.imgur.com/r9zaa.png)

I turned that off (want to have only PR build) and also added `only` to `.travis.yml`, but still have two builds, but now branch builds just in expecting stage. In web UI Travis - no more builds for branch created.

[![enter image description here](https://i.stack.imgur.com/ukPJt.png)](https://i.stack.imgur.com/ukPJt.png)

```
branches:
  only:
  - master

language: python
os: linux
dist: xenial

jobs:
  include:
  - name: pytest
    python:
      - 3.7
    install:
      - pip install -U pip
      - pip install -U pytest
      - pip install -U PyYAML
      - pip install -U Cerberus
    script:
      - pytest -vvs

```