1#!/usr/bin/env python 2 3# 4# Copyright (c) 2014-present, Facebook, Inc. 5# 6# This source code is licensed under the MIT license found in the 7# LICENSE file in the root directory of this source tree. 8# 9 10from __future__ import absolute_import, division, print_function, unicode_literals 11 12import specs.fbthrift as fbthrift 13import specs.fbzmq as fbzmq 14import specs.fmt as fmt 15import specs.folly as folly 16import specs.gmock as gmock 17from shell_quoting import ShellQuoted 18 19 20"fbcode_builder steps to build & test Openr" 21 22 23def fbcode_builder_spec(builder): 24 return { 25 "depends_on": [fmt, folly, fbthrift, gmock, fbzmq], 26 "steps": [ 27 # fbzmq build dir will be the last workdir 28 builder.step("Run fbzmq tests", [builder.run(ShellQuoted("make test"))]) 29 ], 30 } 31 32 33config = { 34 "github_project": "facebook/fbzmq", 35 "fbcode_builder_spec": fbcode_builder_spec, 36} 37