Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
fix deployment script syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Jun 14, 2019
1 parent b072c2a commit c299360
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,24 @@ install:
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]] ; then pip install h5py pyarrow ; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]] ; then pip install numba ; ln -s ../awkward-numba/awkward/numba awkward/numba ; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]] ; then pip install pybind11 ; cd awkward-cpp ; python setup.py build ; cd .. ; tree awkward-cpp/build/ ; cd awkward ; ln -s ../awkward-cpp/build/lib.*/awkward/cpp cpp ; cd .. ; ls -l awkward/cpp ; ls -l awkward/cpp/ ; python -c 'print("TESTING awkward-cpp"); import awkward.cpp; print(awkward.cpp.JaggedArray)' ; fi
- export AWKWARD_DEPLOYMENT=base
- export AWKWARD_DEPLOYMENT=awkward
- pip install --upgrade pyOpenSSL # for deployment

notifications:
slack: scikit-hep:b6cgBXwccPoaCNLn5VKFJFVy

before_deploy:
- |
if [[ $AWKWARD_DEPLOYMENT == base ]]
if [[ $AWKWARD_DEPLOYMENT == awkward ]]
then
echo "DEPLOYING base"
export AWKWARD_DEPLOYMENT=numba
elif [[ $AWKWARD_DEPLOYMENT == numba ]]
echo "DEPLOYING awkward-array"
export AWKWARD_DEPLOYMENT=awkward-numba
elif [[ $AWKWARD_DEPLOYMENT == awkward-numba ]]
then
echo "DEPLOYING numba"
cd awkward-numba
export AWKWARD_DEPLOYMENT=cpp
fi
elif [[ $AWKWARD_DEPLOYMENT == cpp ]]
export AWKWARD_DEPLOYMENT=awkward-cpp
elif [[ $AWKWARD_DEPLOYMENT == awkward-cpp ]]
then
echo "DEPLOYING cpp"
cd ..
Expand Down

0 comments on commit c299360

Please sign in to comment.