mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-11 16:22:38 +03:00
Fixes for travic CI build (#3)
Summary: This should fix the Travis CI builds. It adds rust toolchain support inside docker and sets the required THRIFT env variable. Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/3 Reviewed By: krallin Differential Revision: D18905608 Pulled By: lukaspiatkowski fbshipit-source-id: 5db1eff6f215a6617d8acaa0c99a62d45225956b
This commit is contained in:
committed by
Facebook Github Bot
parent
4b0975adcf
commit
3af1c72471
@@ -33,6 +33,9 @@ class ShellFBCodeBuilder(FBCodeBuilder):
|
||||
def _render_impl(self, steps):
|
||||
return raw_shell(shell_join('\n', recursively_flatten_list(steps)))
|
||||
|
||||
def set_env(self, key, value):
|
||||
return ShellQuoted("export {key}={val}").format(key=key, val=value)
|
||||
|
||||
def workdir(self, dir):
|
||||
return [
|
||||
ShellQuoted('mkdir -p {d} && cd {d}').format(
|
||||
|
Reference in New Issue
Block a user