Travis config to create a label in github?

Is it possible to configure travis to create a label in github when a travis test fails and/or passes?

There is no such capability at the moment.

You can use GitHub API to manage issue labels.