Add dex configs to prevent OutOfMemory on travis
Start use env matrix