travis and fixes for python3