Added Travis build script, including minimal test

Modified examples/plot_all_styles.py to make sure
it works on a headless environment (such as a 
Travis build)