try / catch block to avoid ipython execution in travis