Fixing the UI Travis CI build

If you’ve been following my work on the UI at all, you may have noticed that the Travis CI build has been failing quite a bit due to Bower throwing up questions. Others may have also encountered this issue, but I think I finally have a working solution, only time will tell for sure though.

Here’s what I’m using now, maybe this will help others that are using Bower on Travis.

Now these files cause bower to install everything into .bower, this means we can nuke that directory every time travis runs through the install process. As far as I can tell, the problem lies with travis not cleaning up old bower cache files, which causes bower to conflict with itself somehow.

This solution may seem a bit heavy handed, but it’s the only technique that appears to work right now. I hope this helps to get your project running flawlessly on travis!

Leave a Reply

Your email address will not be published. Required fields are marked *