Merge pull request #890 from AwesomeTurtle/awesometurtle-selenium-travis
fix(CI): add selenium to travis
This commit is contained in:
commit
ffa3055a33
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- 2.7
|
- 2.7
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
install:
|
install:
|
||||||
- pip install -U pip wheel
|
- pip install -U pip wheel
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
|
@ -10,12 +12,13 @@ script:
|
||||||
- python -m pytest plugins/CryptMessage/Test
|
- python -m pytest plugins/CryptMessage/Test
|
||||||
- python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
|
- python -m pytest src/Test --cov=src --cov-config src/Test/coverage.ini
|
||||||
before_install:
|
before_install:
|
||||||
- pip install -U pytest mock pytest-cov
|
- pip install -U pytest mock pytest-cov selenium
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
|
- docker run -d -v $PWD:/root/data -p 15441:15441 -p 127.0.0.1:43110:43110 nofish/zeronet
|
||||||
after_success:
|
after_success:
|
||||||
- codecov
|
- codecov
|
||||||
- coveralls --rcfile=src/Test/coverage.ini
|
- coveralls --rcfile=src/Test/coverage.ini
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
|
|
Loading…
Reference in a new issue