A great self-hosted CI alternative is Drone.io (https://github.com/drone/drone).
To set it up is simply a matter of starting a Docker image and creating a .drone.yml file (very similar to .travis.yml).
Note: I'm not affiliated with the project in any way. I'm just a happy user who think the project deserves way more buzz.