Allow travis to push to github

parent b5d6c81a
sudo: required
services:
- docker
- docker
os:
- linux
script:
- make update
env:
global:
secure: ctwIpoPw5nu2bOC++27rVRteTWECdSdODMwJkeBj/1WVVIZQY/r1JPoxfC8MvQky10h1i5p3aP1tQeLzpTyNH8E69F+8a13yAkEzfRMpqWOCISVyZ+dayjTbMsP+FW8dTpZ/R4+A0QpVdNWIkeRGMVK5LEObAjPTkFTe+8sb+ddGhHqLy959MWscpGK4dVFbgxbl4P+AutdfZ7xcn9WM1NSVmtM0eehqUP+tlbPLESdbQXQf9OOu1SSaDq4i7UUGrGS2DrvL4rGUfJK2eU9IbD1VV3dUfMo5luh+bazojHL/f7IHF4OjhSRwXdjSOGr308wLxRZZvl+7Cjv86Bigy5qJYf7441l3atqQRbLc6o6LOT0yG7toUiK7FY+vFl21mkkTpHR8iQRFRqHpzt4C5k1TwFL4L0UxuWdP9hfPPulWKEF9TrBZHGb6+gtj8wLafHlsK+BJgmhSCVxfWJHH8ImSfZ/5srtHVhRhEv0oAiK/6ynn0lmDGjcGnSfs/OU0ae9v5nXT99JsQ3p+7X6Le93RzgKI8BFHigsWRn1ikB/SpYz+Y+1BSCV0vfInXBx4Kd4K4UnUZTDF7ZUOS/3TFLY0P/Kuy0cKZALVbOx25Bl4YjDMUyDN/GU2oomShNTZa0YdP5/V7WzhuP6NGf6ayLVRwvB7VlBu0SFDuBPtAcA=
......@@ -19,7 +19,7 @@ docker-run: docker-image
docker-cvs-import: docker-image
docker run -e TRAVIS -v $$PWD:/repo -v $$PWD/.docker-home:/root -w /repo $(IMAGE_NAME) ./update-git-from-cvs-in-docker.sh
./update-git-from-cvs.sh
./push-to-github.sh
update: docker-cvs-import
......
......@@ -2,5 +2,10 @@
set -e
git checkout master
git merge --no-ff origin
git push origin master:master origin:origin
REMOTE=origin
[ -n "$TRAVIS" ] && REMOTE=https://${GH_PAT}@github.com/Byron/benchmarksgame-cvs-mirror
git push $REMOTE master:master origin:origin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment