use gradle check task for travis