attempt to push test responsibility off to travis: round 1

This commit is contained in:
Meredith L. Patterson 2013-11-20 22:43:15 -06:00
parent 6cb4f82445
commit 5cc6920b23
3 changed files with 24 additions and 5 deletions

View file

@ -16,9 +16,9 @@ swig = ['hammer.i']
libhammer_php = phpenv.SharedLibrary('hammer', swig)
phptestenv = phpenv.Clone()
phptestenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
tests = phptestenv.Dir('Tests/')
phptestenv.Command(tests, [libhammer_php], "phpunit -v --include-path "+os.getcwd()+" $TARGET")
#phptestenv = phpenv.Clone()
#phptestenv['ENV']['LD_LIBRARY_PATH'] = os.path.dirname(str(libhammer_shared[0]))
#tests = phptestenv.Dir('Tests/')
#phptestenv.Command(tests, [libhammer_php], "phpunit -v --include-path "+os.getcwd()+" $TARGET")
Clean('.', ['hammer.php'])