From c320bb4565231cd11ffd70851766059c867058da Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Fri, 8 Jan 2016 12:05:42 -0500 Subject: Adding curl to upload pr builds --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index c88267206..47986dd2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,8 @@ script: make dist-travis addons: hosts: - 127.0.0.1 dockerhost +after_success: + - cd dist && curl -F "pr_number=$TRAVIS_PULL_REQUEST" -F "file=@mattermost.tar.gz" mattermod.mattermost.com:8087/upload_pr_build before_deploy: - sudo rm -rf dist/mattermost - sudo chown `whoami` dist/mattermost.tar.gz -- cgit v1.2.3-1-g7c22