enable after_success, after_failure and env
Merge pull request #3 from masaki/enable-after-process

* fixed #1
* fixed #2