lbrynet compile steps require TRAVIS_COMMIT env var.

This commit is contained in:
Ryan McGuire 2019-05-30 16:16:37 -04:00
parent bf89578fde
commit b1fa2325e9

View file

@ -51,7 +51,8 @@ RUN python3.7 -m pip install -e .
WORKDIR /lbry/
COPY stuff/start.sh /usr/local/bin/start
COPY stuff/checkmount.sh /usr/local/bin/checkmount
RUN python3.7 scripts/set_build.py && \
RUN export TRAVIS_COMMIT=`git rev-parse HEAD` && \
python3.7 scripts/set_build.py && \
python3.7 -m pip install -e . && \
pyinstaller -F -n lbrynet lbrynet/extras/cli.py && \
chmod +x /lbry/dist/lbrynet && \