Add Travis CI scripts
remove unused var
Merge pull request #877 from avsm/travis

Add Travis CI scripts