@@ -99,7 +99,7 @@ python:
9999 - 3.6
100100
101101os :
102- - ubuntu/trusty64
102+ - ubuntu/bionic64/python-driver
103103
104104cassandra :
105105 - ' 2.1'
@@ -122,9 +122,7 @@ build:
122122 pip install --upgrade pip
123123 pip install -U setuptools
124124
125- pip install git+https://github.com/pcmanus/ccm.git
126- # Install dependencies
127- sudo apt-get install -y libev4 libev-dev libssl-dev
125+ pip install git+https://github.com/riptano/ccm.git
128126
129127 pip install -r test-requirements.txt
130128 pip install nose-ignore-docstring
@@ -143,15 +141,6 @@ build:
143141 python setup.py build_ext --inplace --no-cython
144142 fi
145143
146- echo "Installing simulacron"
147- pushd ~
148-
149- SIMULACRON_JAR=`find \`pwd\` -name "simulacron-standalone-*.jar"`
150- echo "SIMULACRON_JAR: $SIMULACRON_JAR"
151-
152- popd
153-
154-
155144 echo "JUST_UPGRADE: $JUST_UPGRADE"
156145 if [[ $JUST_UPGRADE == 'True' ]]; then
157146 EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER VERIFY_CYTHON=$FORCE_CYTHON nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=upgrade_results.xml tests/integration/upgrade || true
@@ -170,6 +159,7 @@ build:
170159
171160 echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
172161 echo "==========RUNNING SIMULACRON TESTS=========="
162+ SIMULACRON_JAR="$HOME/simulacron.jar"
173163 SIMULACRON_JAR=$SIMULACRON_JAR EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER CASSANDRA_DIR=$CCM_INSTALL_DIR DSE_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=simulacron_results.xml tests/integration/simulacron/ || true
174164
175165 echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
0 commit comments