Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed build-nose.py

  • Loading branch information...
commit b06aea9afc76c09e26a6e4cde5df67ed744caa80 1 parent 298542a
C. Titus Brown authored
Showing with 0 additions and 48 deletions.
  1. +0 −48 client/build-nose.py
48 client/build-nose.py
View
@@ -1,48 +0,0 @@
-#! /usr/bin/env python
-import sys
-import pprint
-from pony_client import BuildCommand, TestCommand, do, send, \
- TempDirectoryContext, SetupCommand, HgClone, check, parse_cmdline, \
- PythonPackageEgg
-
-options, args = parse_cmdline()
-
-python_exe = 'python'
-if args:
- python_exe = args[0]
-
-repo_url = 'http://bitbucket.org/jpellerin/nose/'
-
-tags = ['nose']
-name = 'build-nose'
-
-server_url = options.server_url
-
-if not options.force_build:
- if not check(name, server_url, tags=tags):
- print 'check build says no need to build; bye'
- sys.exit(0)
-
-context = TempDirectoryContext()
-commands = [ HgClone(repo_url, name='checkout'),
- BuildCommand([python_exe, 'setup.py', 'build_ext', '-i'],
- name='compile'),
- TestCommand([python_exe, 'setup.py', 'test'], name='run tests'),
- PythonPackageEgg(python_exe)]
-
-results = do(name, commands, context=context)
-client_info, reslist, files = results
-
-if options.report:
- print 'result: %s; sending' % (client_info['success'],)
- send(server_url, results, tags=tags)
-else:
- print 'build result:'
- pprint.pprint(client_info)
- pprint.pprint(reslist)
-
- print '(NOT SENDING BUILD RESULT TO SERVER)'
-
-if not client_info['success']:
- sys.exit(-1)
-
Please sign in to comment.
Something went wrong with that request. Please try again.