Skip to content

Commit e527d91

Browse files
author
bjmb
committed
Simplified the travis matrix, moved part of it to Jenkins
1 parent 34664df commit e527d91

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ python:
1010
sudo: false
1111
env:
1212
- CASS_DRIVER_NO_CYTHON=1
13-
-
1413

1514
addons:
1615
apt:

build.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ build:
103103
python setup.py build_ext --inplace --no-cython
104104
fi
105105
106+
# Run the unit tests, this is not done in travis because
107+
# it takes too much time for the whole matrix to build with cython
108+
if [[ $CYTHON == 'CYTHON' ]]; then
109+
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
110+
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
111+
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
112+
113+
fi
114+
106115
echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
107116
echo "==========RUNNING CQLENGINE TESTS=========="
108117
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

0 commit comments

Comments
 (0)