2015-09-20 12:30:32 +02:00
|
|
|
language: python
|
2019-03-20 01:07:18 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2019-03-21 02:22:22 +01:00
|
|
|
- python: 3.4
|
|
|
|
dist: trusty
|
|
|
|
sudo: false
|
2019-03-20 01:07:18 +01:00
|
|
|
- python: 3.5
|
|
|
|
dist: trusty
|
|
|
|
sudo: false
|
|
|
|
- python: 3.6
|
|
|
|
dist: trusty
|
|
|
|
sudo: false
|
|
|
|
- python: 3.7
|
|
|
|
dist: xenial
|
|
|
|
sudo: true
|
|
|
|
|
2017-04-08 18:57:58 +02:00
|
|
|
services:
|
|
|
|
- docker
|
2015-09-20 12:30:32 +02:00
|
|
|
install:
|
Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol
2016-01-05 00:20:52 +01:00
|
|
|
- pip install -U pip wheel
|
2015-09-20 12:30:32 +02:00
|
|
|
- pip install -r requirements.txt
|
2018-02-23 15:43:21 +01:00
|
|
|
- pip list
|
2015-09-20 22:46:57 +02:00
|
|
|
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
|
2015-09-20 13:29:35 +02:00
|
|
|
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
|
2015-09-24 22:29:07 +02:00
|
|
|
- python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
|
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
|
2019-03-19 17:02:39 +01:00
|
|
|
# - 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
|
2015-09-21 20:09:32 +02:00
|
|
|
- coveralls --rcfile=src/Test/coverage.ini
|
Version 0.3.5, Rev830, Full Tor mode support with hidden services, Onion stats in Sidebar, GeoDB download fix using Tor, Gray out disabled sites in Stats page, Tor hidden service status in stat page, Benchmark sha256, Skyts tracker out expodie in, 2 new tracker using ZeroNet protocol, Keep SSL cert option between restarts, SSL Certificate pinning support for connections, Site lock support for connections, Certificate pinned connections using implicit SSL, Flood protection whitelist support, Foreign keys support for DB layer, Not support for SQL query helper, 0 length file get bugfix, Pex onion address support, Faster port testing, Faster uPnP port opening, Need connections more often on owned sites, Delay ZeroHello startup message if port check or Tor manager not ready yet, Use lockfiles to avoid double start, Save original socket on proxy monkey patching to get ability to connect localhost directly, Handle atomic write errors, Broken gevent https workaround helper, Rsa crypt functions, Plugin to Bootstrap using ZeroNet protocol
2016-01-05 00:20:52 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
2017-04-08 00:06:38 +02:00
|
|
|
- $HOME/.cache/pip
|
2017-12-27 11:07:49 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
2018-03-08 14:27:40 +01:00
|
|
|
recipients:
|
|
|
|
hello@zeronet.io
|
2018-02-09 11:53:39 +01:00
|
|
|
on_success: change
|