der_tests: trim trailing spaces
add travis-ci configuration