Repair perl 5.8 (Centos 5) installed when reported "Not an ARRAY reference"

1. Repair perl 5.8 (Centos 5) installed when reported "Not an ARRAY reference"
2. Added travis-ci test configuration file .travis.yml, automated testing for each version is working properly.