language: python cache: pip dist: bionic python: - "2.7_with_system_site_packages" - "3.7" services: - docker addons: apt: packages: - build-essential - dante-server - libcap-dev - python-qt4 - tor - xvfb jobs: allow_failures: - os: windows include: - dist: bionic - dist: bionic if: type = pull_request language: generic install: - docker build -t bm_fedora -f packages/Dockerfile.fedora . script: - docker run --rm bm_fedora - os: windows language: shell before_install: - choco install python2 - choco install --ignore-dependencies vcpython27 - python -m pip install --upgrade pip - wget -c -nc -nv --content-disposition https://github.com/Bitmessage/ThirdPartyLibraries/blob/master/Win64OpenSSL-1_0_2t.exe?raw=true - powershell -Command "Start-Process -FilePath Win64OpenSSL-1_0_2t.exe -ArgumentList '/q /norestart /silent /verysilent /sp- /suppressmsgboxes /dir=C:\OpenSSL-Win64' -Wait" - python setup.py build_ext --inplace env: - PATH=/c/Python27:/c/Python27/Scripts:$PATH - OPENSSL_DIR="c:\\OpenSSL-Win64" install: - pip install -r requirements.txt - python setup.py install - export PYTHONWARNINGS=all script: - python checkdeps.py - xvfb-run src/bitmessagemain.py -t - python -bm tests