[Python-modules-commits] r31813 - in packages/python-git/trunk/debian (rules)
yoh at users.alioth.debian.org
yoh at users.alioth.debian.org
Sat Feb 7 16:05:04 UTC 2015
Date: Saturday, February 7, 2015 @ 16:05:03
Author: yoh
Revision: 31813
buildtime tests -- use git config so that submodules via https work, etc
Modified:
packages/python-git/trunk/debian/rules
Modified: packages/python-git/trunk/debian/rules
===================================================================
--- packages/python-git/trunk/debian/rules 2015-02-07 16:04:52 UTC (rev 31812)
+++ packages/python-git/trunk/debian/rules 2015-02-07 16:05:03 UTC (rev 31813)
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
+export HOME=$(CURDIR)/build/test
+
override_dh_installdocs:
dh_installdocs -Xjquery.js -X_sources
@@ -10,11 +12,10 @@
override_dh_auto_test:
: # run tests only if we can fetch original sources repository
-mkdir -p build/test; cd build/test; \
- git clone git://github.com/gitpython-developers/GitPython; cd GitPython; git submodule update --init --recursive; \
- for i in `seq 4`; do git reset --hard HEAD~1; done; git reset --hard origin/master; \
- git config user.name "TESTING"; \
- git config user.email "TESTING at example.com"; \
- touch ../go
+ git config --global http.sslVerify false; git config --global user.name "TESTING"; git config --global user.email "TESTING at example.com"; \
+ git clone git://github.com/gitpython-developers/GitPython; \
+ cd GitPython; git submodule update --init --recursive; \
+ for i in `seq 4`; do git reset --hard HEAD~1; done; git reset --hard origin/master; touch ../go
[ ! -e build/test/go ] || \
GIT_PYTHON_TEST_GIT_REPO_BASE=$(CURDIR)/build/test/GitPython \
nosetests -s -v git/test
More information about the Python-modules-commits
mailing list