RandomSec/extensions/database/.travis.yml
2018-01-13 20:24:56 -06:00

25 lines
362 B
YAML

language: java
jdk:
- oraclejdk8
addons:
mariadb: '10.0'
services:
- mysql
- postgresql
before_install:
- mysql -u root -e 'CREATE DATABASE test_db;'
- mysql -u root test_db < test/conf/travis-mysql.sql
- psql -c 'CREATE DATABASE test_db;' -U postgres
- psql -U postgres test_db < test/conf/travis-pgsql.sql
script:
- ant test