This repository has been archived on 2024-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-20/.travis.yml

50 lines
1.4 KiB
YAML
Raw Normal View History

language: python
cache: pip
dist: bionic
python:
- "2.7_with_system_site_packages"
- "3.7"
services:
- docker
addons:
apt:
packages:
- build-essential
2020-10-08 15:35:24 +02:00
- dante-server
- libcap-dev
- python-qt4
2019-08-09 16:15:00 +02:00
- 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