Skip to content
Snippets Groups Projects
Commit d05b3d0e authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fix the tests

parent 2f932fef
Branches master
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ jobs: ...@@ -10,6 +10,9 @@ jobs:
python: "2.7" python: "2.7"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -19,6 +22,9 @@ jobs: ...@@ -19,6 +22,9 @@ jobs:
python: "3.5" python: "3.5"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -28,6 +34,9 @@ jobs: ...@@ -28,6 +34,9 @@ jobs:
python: "3.6" python: "3.6"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -37,6 +46,9 @@ jobs: ...@@ -37,6 +46,9 @@ jobs:
python: "3.7" python: "3.7"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -46,6 +58,9 @@ jobs: ...@@ -46,6 +58,9 @@ jobs:
python: "3.8" python: "3.8"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -55,6 +70,9 @@ jobs: ...@@ -55,6 +70,9 @@ jobs:
python: "nightly" python: "nightly"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -64,6 +82,9 @@ jobs: ...@@ -64,6 +82,9 @@ jobs:
python: "pypy" python: "pypy"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
...@@ -73,6 +94,9 @@ jobs: ...@@ -73,6 +94,9 @@ jobs:
python: "pypy3.5" python: "pypy3.5"
script: script:
- bash tests/travis_test.sh - bash tests/travis_test.sh
after_script:
- coverage xml
- ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
services: rabbitmq services: rabbitmq
addons: addons:
apt: apt:
......
...@@ -15,9 +15,3 @@ coverage run -m compile_definitions ...@@ -15,9 +15,3 @@ coverage run -m compile_definitions
coverage run --append -m nose2 -vv coverage run --append -m nose2 -vv
COOLAMQP_FORCE_SELECT_LISTENER=1 coverage run --append -m nose2 -vv COOLAMQP_FORCE_SELECT_LISTENER=1 coverage run --append -m nose2 -vv
coverage run --append -m stress_tests coverage run --append -m stress_tests
coverage report
coverage xml
./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment