ZeroNet/.travis.yml

29 lines
727 B
YAML
Raw Normal View History

2015-09-20 12:30:32 +02:00
language: python
python:
- 2.7
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
before_script:
- openssl version -a
script:
- python -m pytest plugins/CryptMessage/Test
2017-10-04 17:24:49 +02:00
- python -m pytest plugins/Bigfile/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
2017-04-09 22:13:37 +02: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
- 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:
on_success: change