Blame dev/containers/tox_py3.sh

Pierre-Yves Chibon 86597a
#!/bin/bash
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
ls -l /
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
echo "============== ENVIRONMENT ============="
Pierre-Yves Chibon 86597a
/usr/bin/env
Pierre-Yves Chibon 86597a
echo "============== END ENVIRONMENT ============="
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
if [ -n "$REPO" -a -n "$BRANCH" ]; then
Pierre-Yves Chibon 86597a
git remote rm proposed || true
Pierre-Yves Chibon 86597a
git gc --auto
Pierre-Yves Chibon 86597a
git remote add proposed "$REPO"
Pierre-Yves Chibon 86597a
git fetch proposed
Pierre-Yves Chibon 86597a
git checkout origin/master
Pierre-Yves Chibon 86597a
git config --global user.email "you@example.com"
Pierre-Yves Chibon 86597a
git config --global user.name "Your Name"
Pierre-Yves Chibon 86597a
git merge --no-ff "proposed/$BRANCH" -m "Merge PR"
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
echo "Running tests for branch $BRANCH of repo $REPO"
Pierre-Yves Chibon 86597a
echo "Last commits:"
Brian Stinson c25611
git --no-pager log -2
Pierre-Yves Chibon 86597a
fi
Pierre-Yves Chibon 86597a
Pierre-Yves Chibon 86597a
tox -v --sitepackages -e 'py34-flask100-ci' -- --results=results