Merge pull request #2751 from tfmorris/2750-lgtm-build

Fix LGTM build
This commit is contained in:
Tom Morris 2020-06-17 22:59:17 -04:00 committed by GitHub
commit 9ecd26c4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

6
.lgtm.yml Normal file
View File

@ -0,0 +1,6 @@
extraction:
java:
index:
build_command:
- mvn clean test

View File

@ -19,7 +19,6 @@ env:
before_install:
# create test database for mysql, mariadb and postgresql
# 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