Skip to content

Commit

Permalink
Properly mark daily builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed Nov 19, 2020
1 parent 0e4750e commit bfe8549
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions ports/ci/travis/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

if [ ! -z "${DAILY_BUILD}" ]; then
export DAILY_BUILD=1
fi

cd ports/deploy
git clone https://github.com/webcamoid/DeployTools.git
cd ../..
Expand All @@ -32,6 +28,15 @@ cat << EOF > ${DEPLOYSCRIPT}
export PATH="\$PWD/.local/bin:\$PATH"
export PYTHONPATH="\$PWD/ports/deploy/DeployTools"
EOF

if [ ! -z "${DAILY_BUILD}" ]; then
cat << EOF >> ${DEPLOYSCRIPT}
export DAILY_BUILD=1
EOF
fi

cat << EOF > ${DEPLOYSCRIPT}
xvfb-run --auto-servernum python3 ports/deploy/deploy.py
EOF

Expand Down

0 comments on commit bfe8549

Please sign in to comment.