From e786192766f0c819266816d6ab3092a575aba8b0 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 10 Apr 2017 15:54:32 +0300 Subject: [PATCH] Upload Travis builds --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.travis.yml b/.travis.yml index b8c3919868..e95624a0de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -90,3 +90,18 @@ addons: after_success: - if [ "$COVERITY_SCAN_BRANCH" != 1 ] && [ "$TRAVIS_OS_NAME" = linux ]; then coveralls --extension .c --extension .cpp --extension .h; fi + - if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ] && [ -z "$TRAVIS_TAG" ]; then git config --global user.email "travis@travis-ci.org"; git config --global user.name "Travis"; git tag -a v${TRAVIS_BUILD_NUMBER} -m "Travis build $TRAVIS_BUILD_NUMBER pushed a tag."; git push origin --tags; git fetch origin; fi + +before_deploy: "zip rpcs3-${TRAVIS_COMMIT}-${TRAVIS_BUILD_NUMBER}-linux-${CXX}-x64.zip ../bin/rpcs3" + +deploy: + provider: releases + user: "Nekotekina" + file: "rpcs3-${TRAVIS_COMMIT}-${TRAVIS_BUILD_NUMBER}-linux-${CXX}-x64.zip" + skip_cleanup: true + on: + branch: master + repo: RPCS3/rpcs3 + tags: true + password: + secure: RTT3Rdwsmllxy2GjftJw2mvJ5HG5qJlrTp2/18rk5M7U9ZznTLE5t/6OHW2cMVdAU85a7QebXXkANbsUhI3zsMFcp+JOavX+bjt/XsF/bpnxB8R7xrvYtKhfB6N0S0818FIDjTNNFGitujZcloCwtBT9YrozrQBJqCwRDcIdpYU=