Temporarily disable MySQL, #2043
This commit is contained in:
parent
4afd3d5243
commit
a6424e53a0
@ -2,7 +2,7 @@ language: java
|
||||
dist: xenial
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
- openjdk8
|
||||
- openjdk9
|
||||
- oraclejdk11
|
||||
- openjdk11
|
||||
|
||||
@ -10,7 +10,7 @@ addons:
|
||||
mariadb: '10.0'
|
||||
|
||||
services:
|
||||
- mysql
|
||||
# - mysql
|
||||
- postgresql
|
||||
|
||||
env:
|
||||
@ -20,8 +20,9 @@ env:
|
||||
before_install:
|
||||
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar https://github.com/codacy/codacy-coverage-reporter/releases/download/2.0.0/codacy-coverage-reporter-2.0.0-assembly.jar
|
||||
# create test database for mysql, mariadb and postgresql
|
||||
- mysql -u root -e 'CREATE DATABASE test_db;'
|
||||
- mysql -u root test_db < extensions/database/tests/conf/travis-mysql.sql
|
||||
# mysql is currently disabled: https://github.com/OpenRefine/OpenRefine/issues/2043
|
||||
#- mysql -u root -e 'CREATE DATABASE test_db;'
|
||||
#- mysql -u root test_db < extensions/database/tests/conf/travis-mysql.sql
|
||||
- psql -c 'CREATE DATABASE test_db;' -U postgres
|
||||
- psql -U postgres test_db < extensions/database/tests/conf/travis-pgsql.sql
|
||||
- cp extensions/database/tests/conf/travis_tests.xml extensions/database/tests/conf/tests.xml
|
||||
|
@ -21,6 +21,13 @@
|
||||
<parameter name = "mariaDbPassword" value=""/>
|
||||
<parameter name = "mariaDbTestTable" value="test_table"/>
|
||||
<test name="DatabaseExtensionUnitTest">
|
||||
<!-- Temporarily exclude MySQL from Travis tests until MySQL is working on Travis again. -->
|
||||
<!-- See https://github.com/OpenRefine/OpenRefine/issues/2043 -->
|
||||
<groups>
|
||||
<run>
|
||||
<exclude name="requiresMySQL"/>
|
||||
</run>
|
||||
</groups>
|
||||
<classes>
|
||||
<class name="com.google.refine.extension.database.DatabaseImportControllerTest"/>
|
||||
<class name="com.google.refine.extension.database.DatabaseServiceTest"/>
|
||||
@ -38,4 +45,4 @@
|
||||
<class name="com.google.refine.extension.database.pgsql.PgSQLDatabaseServiceTest" />
|
||||
</classes>
|
||||
</test>
|
||||
</suite>
|
||||
</suite>
|
||||
|
Loading…
Reference in New Issue
Block a user