adds APP_ENV variable and set test when using travis ci