ci
This commit is contained in:
parent
a82abb33ac
commit
4ab2d7e624
1 changed files with 11 additions and 1 deletions
|
@ -28,24 +28,32 @@ stages:
|
||||||
test:lint:
|
test:lint:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y liblz4-dev libsnappy-dev librocksdb-dev
|
||||||
- make install tools
|
- make install tools
|
||||||
- make lint
|
- make lint
|
||||||
|
|
||||||
test:unit:
|
test:unit:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y liblz4-dev libsnappy-dev librocksdb-dev
|
||||||
- make install tools
|
- make install tools
|
||||||
- HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
- HOME=/tmp coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
||||||
|
|
||||||
test:datanetwork-integration:
|
test:datanetwork-integration:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y liblz4-dev libsnappy-dev librocksdb-dev
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
- tox -e datanetwork --recreate
|
- tox -e datanetwork --recreate
|
||||||
|
|
||||||
test:blockchain-integration:
|
test:blockchain-integration:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y liblz4-dev libsnappy-dev librocksdb-dev
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
- tox -e blockchain
|
- tox -e blockchain
|
||||||
|
|
||||||
|
@ -53,13 +61,15 @@ test:other-integration:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y --no-install-recommends ffmpeg
|
- apt-get install -y --no-install-recommends ffmpeg liblz4-dev libsnappy-dev librocksdb-dev
|
||||||
- pip install tox-travis
|
- pip install tox-travis
|
||||||
- tox -e other
|
- tox -e other
|
||||||
|
|
||||||
test:json-api:
|
test:json-api:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y liblz4-dev libsnappy-dev librocksdb-dev
|
||||||
- make install tools
|
- make install tools
|
||||||
- HOME=/tmp coverage run -p --source=lbry scripts/generate_json_api.py
|
- HOME=/tmp coverage run -p --source=lbry scripts/generate_json_api.py
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue