fix the travis ci script to fail when analyze fails