add sample docs and adjust travis.yaml