This commit is contained in:
Jack Robison 2020-11-30 14:32:10 -05:00
parent a82abb33ac
commit 4ab2d7e624
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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