Merge pull request #772 from datastax/python-update-travis
Simplified the travis matrix, moved part of it to Jenkins
This commit is contained in:
commit
b81cfee027
|
@ -10,7 +10,6 @@ python:
|
||||||
sudo: false
|
sudo: false
|
||||||
env:
|
env:
|
||||||
- CASS_DRIVER_NO_CYTHON=1
|
- CASS_DRIVER_NO_CYTHON=1
|
||||||
-
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -103,6 +103,15 @@ build:
|
||||||
python setup.py build_ext --inplace --no-cython
|
python setup.py build_ext --inplace --no-cython
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Run the unit tests, this is not done in travis because
|
||||||
|
# it takes too much time for the whole matrix to build with cython
|
||||||
|
if [[ $CYTHON == 'CYTHON' ]]; then
|
||||||
|
EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER VERIFY_CYTHON=1 nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=cqle_results.xml tests/unit/ || true
|
||||||
|
MONKEY_PATCH_LOOP=1 EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER VERIFY_CYTHON=1 nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=cqle_results.xml tests/unit/io/test_eventletreactor.py || true
|
||||||
|
MONKEY_PATCH_LOOP=1 EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER VERIFY_CYTHON=1 nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=cqle_results.xml tests/unit/io/test_geventreactor.py || true
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
|
echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
|
||||||
echo "==========RUNNING CQLENGINE TESTS=========="
|
echo "==========RUNNING CQLENGINE TESTS=========="
|
||||||
EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER CASSANDRA_VERSION=$CCM_CASSANDRA_VERSION VERIFY_CYTHON=$FORCE_CYTHON nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=cqle_results.xml tests/integration/cqlengine/ || true
|
EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER CASSANDRA_VERSION=$CCM_CASSANDRA_VERSION VERIFY_CYTHON=$FORCE_CYTHON nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=cqle_results.xml tests/integration/cqlengine/ || true
|
||||||
|
|
Loading…
Reference in New Issue