Replace $NUPIC to ${TRAVIS_BUILD_DIR}
Merge pull request #1614 from DavidRagazzi/nupic_var_replacement

Replace $NUPIC to ${TRAVIS_BUILD_DIR}