(command.CommandList
  children: [
    (C {<set>} {<-ex>})
    (C {<source>} {($ Id.VSub_DollarName '$TRAVIS_BUILD_DIR') <'/ci/travis_env_common.sh'>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$TRAVIS_OS_NAME')} 
                      {<Id.Lit_Equals '='>} {(DQ <osx>)} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.AndOr
              ops: [Id.Op_DAmp]
              children: [
                (C {<brew>} {<update>})
                (C {<brew>} {<bundle>} {<--file> <Id.Lit_Equals '='> <'c_glib/Brewfile'>})
              ]
            )
            (C {<export>} 
              {<Id.Lit_VarLike 'PKG_CONFIG_PATH='> ($ Id.VSub_DollarName '$PKG_CONFIG_PATH') 
                <Id.Lit_Colon ':'> <'/usr/local/opt/libffi/lib/pkgconfig'>
              }
            )
          ]
          spids: [64 79]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$BUILD_SYSTEM')} 
                      {<Id.Lit_Equals '='>} {(DQ <meson>)} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<source>} {($ Id.VSub_DollarName '$TRAVIS_BUILD_DIR') <'/ci/travis_install_conda.sh'>})
            (C {<pip>} {<install>} {<meson>} {<ninja>})
          ]
          spids: [108 123]
        )
      ]
    )
    (C {<gem>} {<install>} {<test-unit>} {<gobject-introspection>})
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$TRAVIS_OS_NAME')} 
                      {<Id.Lit_Equals '='>} {(DQ <osx>)} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<sudo>} {<env>} 
              {<Id.Lit_VarLike 'PKG_CONFIG_PATH='> ($ Id.VSub_DollarName '$PKG_CONFIG_PATH')} {<luarocks>} {<install>} {<lgi>}
            )
          ]
          spids: [152 167]
        )
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$BUILD_SYSTEM')} 
                      {<Id.Lit_Equals '='>} {(DQ <autotools>)} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$BUILD_TORCH_EXAMPLE')} 
                              {<Id.Lit_Equals '='>} {(DQ <yes>)} {<Id.Lit_RBracket ']'>}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (C {<git>} {<clone>} {<--quiet>} {<--depth>} {<1>} {<--recursive>} 
                      {<https> <Id.Lit_Colon ':'> <'//github.com/torch/distro.git'>} {(word_part.TildeSub token:<Id.Lit_TildeLike '~'>) <'/torch'>}
                    )
                    (C {<pushd>} {(word_part.TildeSub token:<Id.Lit_TildeLike '~'>) <'/torch'>})
                    (command.Simple
                      words: [{<'./install-deps'>}]
                      redirects: [
                        (redir
                          op: <Id.Redir_Great '>'>
                          loc: (redir_loc.Fd fd:1)
                          arg: {<'/dev/null'>}
                        )
                      ]
                      do_fork: T
                    )
                    (command.Pipeline
                      children: [
                        (C {<echo>} {(DQ <yes>)})
                        (command.Simple
                          words: [{<'./install.sh'>}]
                          redirects: [
                            (redir
                              op: <Id.Redir_Great '>'>
                              loc: (redir_loc.Fd fd:1)
                              arg: {<'/dev/null'>}
                            )
                          ]
                          do_fork: T
                        )
                      ]
                      negated: F
                    )
                    (C {<.>} 
                      {(word_part.TildeSub token:<Id.Lit_TildeLike '~'>) 
                        <'/torch/install/bin/torch-activate'>
                      }
                    )
                    (C {<popd>})
                    (C {<luarocks>} {<install>} {<lgi>})
                  ]
                  spids: [201 216]
                )
              ]
              else_action: [
                (C {<sudo>} {<apt>} {<install>} {<-y>} {<-qq>} {<luarocks>})
                (C {<sudo>} {<luarocks>} {<install>} {<lgi>})
              ]
            )
          ]
          spids: [183 198]
        )
      ]
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$BUILD_SYSTEM')} 
                      {<Id.Lit_Equals '='>} {(DQ <autotools>)} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (command.AndOr
              ops: [Id.Op_DPipe]
              children: [
                (C {<go>} {<get>} {<'github.com/linuxdeepin/go-gir-generator'>})
                (C {<Id.Lit_Colon ':'>})
              ]
            )
            (C {<pushd>} 
              {($ Id.VSub_DollarName '$GOPATH') <'/src/github.com/linuxdeepin/go-gir-generator'>}
            )
            (C {<rm>} {<'lib.in/gio-2.0/gdk_workaround.go'>})
            (C {<mv>} 
              (word.BracedTree
                parts: [<'lib.in/gio-2.0/config.json'> (word_part.BracedTuple words:[{} {<.orig>}])]
              )
            )
            (command.Simple
              words: [
                {<sed>}
                {<-e>}
                {(SQ <'s/\\("Settings",\\)/\\/\\/ \\1/g'>)}
                {<-e>}
                {(SQ <'s/\\("SettingsBackend",\\)/\\/\\/ \\1/g'>)}
                {<'lib.in/gio-2.0/config.json.orig'>}
              ]
              redirects: [
                (redir
                  op: <Id.Redir_Great '>'>
                  loc: (redir_loc.Fd fd:1)
                  arg: {<'lib.in/gio-2.0/config.json'>}
                )
              ]
              do_fork: T
            )
            (C {<mv>} 
              (word.BracedTree
                parts: [<Makefile> (word_part.BracedTuple words:[{} {<.orig>}])]
              )
            )
            (command.Simple
              words: [{<sed>} {<-e>} {(SQ <'s/ gudev-1.0//'>)} {<Makefile.orig>}]
              redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Makefile>})]
              do_fork: T
            )
            (C {<mkdir>} {<-p>} {<'out/src/gir/gudev-1.0'>})
            (C {<make>} {<build>} {<copyfile>})
            (C {<mkdir>} {<-p>} {($ Id.VSub_DollarName '$GOPATH') <'/bin/'>})
            (C {<cp>} {<-a>} {<'out/gir-generator'>} {($ Id.VSub_DollarName '$GOPATH') <'/bin/'>})
            (C {<cp>} {<-a>} {<'out/src/gir/'>} {($ Id.VSub_DollarName '$GOPATH') <'/src/gir/'>})
            (C {<popd>})
          ]
          spids: [321 336]
        )
      ]
    )
    (C {<pushd>} {($ Id.VSub_DollarName '$ARROW_C_GLIB_DIR')})
    (C {<export>} 
      {<Id.Lit_VarLike 'PKG_CONFIG_PATH='> ($ Id.VSub_DollarName '$PKG_CONFIG_PATH') 
        <Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$ARROW_CPP_INSTALL') <'/lib/pkgconfig'>
      }
    )
    (C {<export>} 
      {<Id.Lit_VarLike 'LD_LIBRARY_PATH='> ($ Id.VSub_DollarName '$LD_LIBRARY_PATH') 
        <Id.Lit_Colon ':'> ($ Id.VSub_DollarName '$ARROW_CPP_INSTALL') <'/lib'>
      }
    )
    (command.If
      arms: [
        (if_arm
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$BUILD_SYSTEM')} 
                      {<Id.Lit_Equals '='>} {(DQ <autotools>)} {<Id.Lit_RBracket ']'>}
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          action: [
            (C {<'./autogen.sh'>})
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:CONFIGURE_OPTIONS)
                  op: assign_op.Equal
                  rhs: {(DQ <'--prefix='> ($ Id.VSub_DollarName '$ARROW_C_GLIB_INSTALL'))}
                  spids: [512]
                )
              ]
            )
            (command.If
              arms: [
                (if_arm
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$TRAVIS_OS_NAME')} 
                              {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {(DQ <osx>)} {<Id.Lit_RBracket ']'>}
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  action: [
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:CONFIGURE_OPTIONS)
                          op: assign_op.Equal
                          rhs: {(DQ ($ Id.VSub_DollarName '$CONFIGURE_OPTIONS') <' --enable-gtk-doc'>)}
                          spids: [538]
                        )
                      ]
                    )
                  ]
                  spids: [519 535]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:CONFIGURE_OPTIONS)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (DQ ($ Id.VSub_DollarName '$CONFIGURE_OPTIONS') 
                        <' CFLAGS=-DARROW_NO_DEPRECATED_API'>
                      )
                    }
                  spids: [549]
                )
              ]
            )
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: (sh_lhs_expr.Name name:CONFIGURE_OPTIONS)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (DQ ($ Id.VSub_DollarName '$CONFIGURE_OPTIONS') 
                        <' CXXFLAGS=-DARROW_NO_DEPRECATED_API'>
                      )
                    }
                  spids: [556]
                )
              ]
            )
            (C {<'./configure'>} {($ Id.VSub_DollarName '$CONFIGURE_OPTIONS')})
            (C {<make>} {<-j4>})
            (C {<make>} {<install>})
          ]
          spids: [490 505]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:MESON_OPTIONS)
              op: assign_op.Equal
              rhs: {(DQ <'--prefix='> ($ Id.VSub_DollarName '$ARROW_C_GLIB_INSTALL'))}
              spids: [582]
            )
          ]
        )
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: (sh_lhs_expr.Name name:MESON_OPTIONS)
              op: assign_op.Equal
              rhs: {(DQ ($ Id.VSub_DollarName '$MESON_OPTIONS') <' -Denable_gtk_doc=true'>)}
              spids: [589]
            )
          ]
        )
        (C {<mkdir>} {<-p>} {<build>})
        (C {<env>} {<Id.Lit_VarLike 'CFLAGS='> (DQ <-DARROW_NO_DEPRECATED_API>)} 
          {<Id.Lit_VarLike 'CXXFLAGS='> (DQ <-DARROW_NO_DEPRECATED_API>)} {<meson>} {<build>} {($ Id.VSub_DollarName '$MESON_OPTIONS')}
        )
        (C {<pushd>} {<build>})
        (C {<ninja>})
        (C {<ninja>} {<install>})
        (C {<popd>})
      ]
    )
    (C {<popd>})
  ]
)