summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-01-08 12:05:42 -0500
committerChristopher Speller <crspeller@gmail.com>2016-01-21 09:31:05 -0500
commitc320bb4565231cd11ffd70851766059c867058da (patch)
treea447e41dfb4c5dce63b7b9a5a6472d0ccb3e266b /.travis.yml
parent5e9dde6a4cdec89bbc234830c7bd17a717f29baf (diff)
downloadchat-c320bb4565231cd11ffd70851766059c867058da.tar.gz
chat-c320bb4565231cd11ffd70851766059c867058da.tar.bz2
chat-c320bb4565231cd11ffd70851766059c867058da.zip
Adding curl to upload pr builds
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
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