add Apache 2.0 License.
support travis