Pytest broken on MacOS and Windows

I setup Travis to run pytest on Linux, Windows and MacOS
The build ran successfully on linux but stuck right at the code below on OS X and Windows

This is my .config.yml:

language: python  
    - name: "Python 3.5.6 on Xenial Linux"
      python: 3.5           
    - name: "Python 3.7.7 on macOS"
      os: osx
      osx_image: xcode11.3
      language: shell
    - name: "Python 3.5.4 on Windows"
      os: windows           
      language: shell       
        - choco install python --version 3.5.4
        - python -m pip install --upgrade pip
      env: PATH=/c/Python35:/c/Python35/Scripts:$PATH
  - pip3 install --upgrade pip
  - pip3 install -r "requirements.txt"
  - cd src/
  - pytest

And this is what on the console:

$ pytest
============================= test session starts ==============================
platform darwin -- Python 3.7.7, pytest-5.4.1, py-1.8.1, pluggy-0.13.1
rootdir: /Users/travis/build/MunchDev/EpidemicSimulator/src
collected 2 items                                                       

Any idea how to fix thiss?

Please link to the build and explain what the problem is (there aren’t any error messages).

My crystal ball says that your test probably hangs so you should look into that if that’s the case.