fix PAM to support all features
add .travis.yml config