Permalink
Browse files

Archive the repository instead of cloning it so that it works with CI…

… shallow copy
  • Loading branch information...
1 parent 951cde8 commit b55dd033192d0feee7efad13befa0dc469c341b7 @daffl daffl committed Oct 16, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 build/ci/init.sh
View
@@ -1,8 +1,9 @@
#!/bin/bash
BASEDIR=$(dirname $0)
+mkdir $BASEDIR/can
+git archive HEAD | tar -x -C $BASEDIR/can
+node_modules/.bin/http-server -p 8000 &
cd $BASEDIR
-../../node_modules/.bin/http-server -p 8000 &
-git clone ../../. can
git clone https://github.com/jupiterjs/funcunit.git
cd funcunit
git submodule update --init --recursive

0 comments on commit b55dd03

Please sign in to comment.