add travis CI capability to check pkg on commits