add build example check to travis.