(command.CommandList
  children: [
    (C {<set>} {<-e>})
    (C {<source>} {($ Id.VSub_DollarName TRAVIS_BUILD_DIR) <'/ci/travis_env_common.sh'>})
    (C {<pushd>} {($ Id.VSub_DollarName ARROW_C_GLIB_DIR)})
    (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: [
            (command.ShAssignment
              pairs: [
                (assign_pair
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike 'arrow_c_glib_lib_dir='>
                      name: arrow_c_glib_lib_dir
                    )
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_DollarName ARROW_C_GLIB_INSTALL) <'/lib'>}
                  spids: [95]
                )
              ]
              redirects: []
            )
          ]
          spids: [77 92]
        )
      ]
      else_action: [
        (command.ShAssignment
          pairs: [
            (assign_pair
              lhs: 
                (sh_lhs_expr.Name
                  left: <Id.Lit_VarLike 'arrow_c_glib_lib_dir='>
                  name: arrow_c_glib_lib_dir
                )
              op: assign_op.Equal
              rhs: 
                {($ Id.VSub_DollarName ARROW_C_GLIB_INSTALL) <'/lib/'> 
                  (command_sub
                    left_token: <Id.Left_DollarParen '$('>
                    child: (C {<arch>})
                    right: <Id.Eof_RParen _>
                  ) <-linux-gnu>
                }
              spids: [102]
            )
          ]
          redirects: []
        )
      ]
      redirects: []
    )
    (C {<export>} 
      {<Id.Lit_VarLike 'LD_LIBRARY_PATH='> ($ Id.VSub_DollarName LD_LIBRARY_PATH) <Id.Lit_Colon ':'> 
        ($ Id.VSub_DollarName arrow_c_glib_lib_dir)
      }
    )
    (C {<export>} 
      {<Id.Lit_VarLike 'GI_TYPELIB_PATH='> ($ Id.VSub_DollarName arrow_c_glib_lib_dir) 
        <'/girepository-1.0'>
      }
    )
    (C {<'test/run-test.rb'>})
    (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: [(command.ControlFlow token:<Id.ControlFlow_Exit exit>)]
          spids: [128 143]
        )
      ]
      else_action: []
      redirects: []
    )
    (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 'PKG_CONFIG_PATH='> ($ Id.VSub_DollarName PKG_CONFIG_PATH) <Id.Lit_Colon ':'> 
        ($ Id.VSub_DollarName arrow_c_glib_lib_dir) <'/pkgconfig'>
      }
    )
    (C {<pushd>} {<'example/lua'>})
    (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 {<lua>} {<write-batch.lua>})
            (C {<lua>} {<read-batch.lua>})
            (C {<lua>} {<write-stream.lua>})
            (C {<lua>} {<read-stream.lua>})
          ]
          spids: [172 187]
        )
      ]
      else_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 {<.>} 
                  {(word_part.TildeSub token:<Id.Lit_TildeLike '~'>) 
                    <'/torch/install/bin/torch-activate'>
                  }
                )
                (C {<luajit>} {<write-batch.lua>})
                (C {<luajit>} {<read-batch.lua>})
                (C {<luajit>} {<write-stream.lua>})
                (C {<luajit>} {<read-stream.lua>})
                (C {<luajit>} {<stream-to-torch-tensor.lua>})
              ]
              spids: [212 227]
            )
          ]
          else_action: [
            (C {<lua>} {<write-batch.lua>})
            (C {<lua>} {<read-batch.lua>})
            (C {<lua>} {<write-stream.lua>})
            (C {<lua>} {<read-stream.lua>})
          ]
          redirects: []
        )
      ]
      redirects: []
    )
    (C {<popd>})
    (C {<pushd>} {<'example/go'>})
    (C {<make>} {<generate>})
    (C {<make>})
    (C {<'./write-batch'>})
    (C {<'./read-batch'>})
    (C {<'./write-stream'>})
    (C {<'./read-stream'>})
    (C {<popd>})
    (C {<popd>})
  ]
)