attempt to push test responsibility off to travis: round 1
This commit is contained in:
parent
6cb4f82445
commit
5cc6920b23
3 changed files with 24 additions and 5 deletions
|
|
@ -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'])
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
enable_dl = On
|
||||
extension = "/home/travis/build/abiggerhammer/hammer/build/opt/src/bindings/libhammer.so"
|
||||
extension = "/home/travis/build/abiggerhammer/hammer/build/opt/src/bindings/libhammer.so"
|
||||
include_path = ".:/home/travis/build/abiggerhammer/hammer/build/opt/src/bindings"
|
||||
Loading…
Add table
Add a link
Reference in a new issue