Skip to content
Browse files

test travis

  • Loading branch information...
1 parent e953c39 commit 95e80fa90a6244080baa69638a9367550ece9a28 @wdavidw committed Feb 18, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 wscript
View
5 wscript
@@ -22,6 +22,11 @@ def configure(conf):
srcpath = abspath("deps/sigar")
buildpath = abspath("build/sigar")
destpath = abspath("build/Release")
+ # Travis
+ if exists('git submodule --init --recursive'):
+ if os.system(cmd) != 0:
+ conf.fatal("Fail to git submodule")
+
cmd = "cp -rp %s %s && cd \"%s\" && ./autogen.sh && ./configure --prefix=%s --with-pic && make && make install"
if os.system(cmd % (srcpath, buildpath, buildpath, destpath)) != 0:
conf.fatal("Configuring sigar failed.")

0 comments on commit 95e80fa

Please sign in to comment.
Something went wrong with that request. Please try again.