Don't use distinct(), because travis doesn't use postgresql