(CommandList
  children: [
    (C {(set)} {(-e)})
    (C {(source)} {($ VSub_Name '$TRAVIS_BUILD_DIR') (/ci/travis_env_common.sh)})
    (C {(export)} {(Lit_VarLike 'ARROW_HOME=') ($ VSub_Name '$ARROW_CPP_INSTALL')})
    (C {(export)} {(Lit_VarLike 'PARQUET_HOME=') ($ VSub_Name '$ARROW_PYTHON_PARQUET_HOME')})
    (C {(export)} 
      {(Lit_VarLike 'LD_LIBRARY_PATH=') ($ VSub_Name '$ARROW_HOME') (/lib) (Lit_Other ':') 
        ($ VSub_Name '$PARQUET_HOME') (/lib) (Lit_Other ':') ($ VSub_Name '$LD_LIBRARY_PATH')
      }
    )
    (C {(export)} {(Lit_VarLike 'PYARROW_CXXFLAGS=') (DQ (-Werror))})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:PYTHON_VERSION)
          op: Equal
          rhs: {($ VSub_Number '$1')}
          spids: [92]
        )
      ]
      spids: [92]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:CONDA_ENV_DIR)
          op: Equal
          rhs: {($ VSub_Name '$TRAVIS_BUILD_DIR') (/pyarrow-test-) ($ VSub_Name '$PYTHON_VERSION')}
          spids: [95]
        )
      ]
      spids: [95]
    )
    (C {(conda)} {(create)} {(-y)} {(-q)} {(-p)} {($ VSub_Name '$CONDA_ENV_DIR')} 
      {(Lit_VarLike 'python=') ($ VSub_Name '$PYTHON_VERSION')} {(cmake)} {(curl)}
    )
    (C {(source)} {(activate)} {($ VSub_Name '$CONDA_ENV_DIR')})
    (C {(python)} {(--version)})
    (C {(which)} {(python)})
    (C {(conda)} {(install)} {(-y)} {(-q)} {(pip)} {(nomkl)} {(cloudpickle)} 
      {(Lit_VarLike 'numpy=') (1.13.1)} {(pandas)} {(cython)} {(ipython)} {(matplotlib)} {(numpydoc)} {(sphinx)} {(sphinx_bootstrap_theme)}
    )
    (C {(pushd)} {($ VSub_Name '$ARROW_CPP_BUILD_DIR')})
    (C {(rm)} {(-rf)} {(Lit_Other '*')})
    (C {(cmake)} {(-GNinja)} {(-DARROW_BUILD_TESTS) (Lit_Other '=') (off)} 
      {(-DARROW_BUILD_UTILITIES) (Lit_Other '=') (off)} {(-DARROW_PLASMA) (Lit_Other '=') (on)} {(-DARROW_PYTHON) (Lit_Other '=') (on)} 
      {(-DCMAKE_INSTALL_PREFIX) (Lit_Other '=') ($ VSub_Name '$ARROW_HOME')} {($ VSub_Name '$ARROW_CPP_DIR')}
    )
    (C {(ninja)})
    (C {(ninja)} {(install)})
    (C {(popd)})
    (C {(pushd)} {($ VSub_Name '$ARROW_PYTHON_DIR')})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$PYTHON_VERSION'))} 
                  {(Lit_Other '=') (Lit_Other '=')} {(DQ (2.7))} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(pip)} {(install)} {(futures)})]
          spids: [16777215 281]
        )
      ]
      spids: [16777215 290]
    )
    (C {(pip)} {(install)} {(-r)} {(requirements.txt)})
    (C {(python)} {(setup.py)} {(build_ext)} {(--with-parquet)} {(--with-plasma)} {(install)} 
      {(--single-version-externally-managed)} {(--record) (Lit_Other '=') (record.text)}
    )
    (C {(popd)})
    (C {(python)} {(-c)} {(DQ ('import pyarrow.parquet'))})
    (C {(python)} {(-c)} {(DQ ('import pyarrow.plasma'))})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {($ VSub_Name '$TRAVIS_OS_NAME')} {(Lit_Other '=') (Lit_Other '=')} 
                  {(DQ (linux))} {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(C {(export)} {(Lit_VarLike 'PLASMA_VALGRIND=') (1)})]
          spids: [16777215 357]
        )
      ]
      spids: [16777215 365]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:PYARROW_PATH)
          op: Equal
          rhs: 
            {($ VSub_Name '$CONDA_PREFIX') (/lib/python) ($ VSub_Name '$PYTHON_VERSION') 
              (/site-packages/pyarrow)
            }
          spids: [368]
        )
      ]
      spids: [368]
    )
    (C {(python)} {(-m)} {(pytest)} {(-vv)} {(-r)} {(sxX)} {(-s)} {($ VSub_Name '$PYARROW_PATH')} 
      {(--parquet)}
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  children: [
                    (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$PYTHON_VERSION'))} 
                      {(Lit_Other '=') (Lit_Other '=')} {(DQ (3.6))} {(Lit_Other ']')}
                    )
                    (C {(Lit_Other '[')} {($ VSub_Name '$TRAVIS_OS_NAME')} 
                      {(Lit_Other '=') (Lit_Other '=')} {(DQ (linux))} {(Lit_Other ']')}
                    )
                  ]
                  op_id: Op_DAmp
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(pushd)} {($ VSub_Name '$ARROW_PYTHON_DIR') (/doc)})
            (C {(sphinx-build)} {(-b)} {(html)} {(-d)} {(_build/doctrees)} {(-W)} {(source)} {(_build/html)})
            (C {(popd)})
          ]
          spids: [16777215 426]
        )
      ]
      spids: [16777215 458]
    )
  ]
)