ZeroNet/.travis.yml

46 lines
1.3 KiB
YAML
Raw Normal View History

2015-09-20 12:30:32 +02:00
language: python
python:
- 3.4
- 3.5
- 3.6
- 3.7
dist: xenial
services:
- docker
2015-09-20 12:30:32 +02:00
install:
- pip install -U pip wheel
2015-09-20 12:30:32 +02:00
- pip install -r requirements.txt
- pip list
before_script:
- openssl version -a
2019-01-20 03:08:34 +01:00
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
script:
2018-02-13 00:30:24 +01:00
- python -m pytest -x plugins/CryptMessage/Test
- python -m pytest -x plugins/Bigfile/Test
- python -m pytest -x plugins/AnnounceLocal/Test
2018-03-29 02:39:51 +02:00
- python -m pytest -x plugins/OptionalManager/Test
- python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
- mv plugins/disabled-Multiuser plugins/Multiuser && python -m pytest -x plugins/Multiuser/Test
- mv plugins/disabled-Bootstrapper plugins/Bootstrapper && python -m pytest -x plugins/Bootstrapper/Test
2015-09-20 12:49:44 +02:00
before_install:
2017-04-08 00:06:38 +02:00
- pip install -U pytest mock pytest-cov selenium
2015-09-20 12:49:44 +02:00
- pip install codecov
2015-09-20 13:45:20 +02:00
- pip install coveralls
# - docker build -t zeronet .
# - docker run -d -v $PWD:/root/data -p 15441:15441 -p 127.0.0.1:43110:43110 zeronet
2015-09-20 12:49:44 +02:00
after_success:
2015-09-20 13:45:20 +02:00
- codecov
- coveralls --rcfile=src/Test/coverage.ini
cache:
directories:
2017-04-08 00:06:38 +02:00
- $HOME/.cache/pip
2017-12-27 11:07:49 +01:00
notifications:
email:
recipients:
hello@zeronet.io
2018-02-09 11:53:39 +01:00
on_success: change