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

42 lines
989 B
YAML
Raw Normal View History

language: python
python:
- "2.7"
addons:
apt:
packages:
- build-essential
- libcap-dev
- python-qt4
2019-08-09 16:15:00 +02:00
- tor
- xvfb
2020-10-26 13:24:07 +01:00
jobs:
allow_failures:
- os: windows
include:
- dist: xenial
- os: windows
# if: type = pull_request
2020-10-26 15:11:08 +01:00
language: shell
2020-10-26 13:24:07 +01:00
before_install:
- choco install python2
2020-10-26 15:49:17 +01:00
- choco install --ignore-dependencies vcpython27
2020-10-26 13:24:07 +01:00
- python -m pip install --upgrade pip
- python -m pip install psutil pycrypto
env:
- PATH=/c/Python27:/c/Python27/Scripts:$PATH
install:
2020-10-26 16:33:28 +01:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
pip install -r requirements.txt;
fi
- python setup.py install
script:
- python checkdeps.py
2020-10-26 13:26:37 +01:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
xvfb-run src/bitmessagemain.py -t;
else
export BITMESSAGE_HOME=$(pwd)/$(echo -e "Pou\u017e\u00edvatel");
mkdir ${BITMESSAGE_HOME};
2020-10-26 13:26:37 +01:00
python src/bitmessagemain.py -t;
fi
- python setup.py test