dist: trusty
sudo: required

language: java

jdk:

  - oraclejdk8

services:
  - redis-server
  - mysql

before_script:
  - echo "USE mysql;\nUPDATE user SET password=PASSWORD('test') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
  - mysql -h localhost -u root -ptest < src/test/resources/create_wayf_db.sql
  - mysql -h localhost -u root -ptest wayf < src/test/resources/create_wayf_tables.sql


Revert "Travis access was removed"
Revert "Travis access was removed"

This reverts commit ad0e46ed11773d0da54e8e83858dd33fa29c1020.