From bbd37e6e15595fb4e0dd963a2fdfed3ed487ea81 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Sun, 7 Apr 2013 19:35:39 +0200 Subject: [PATCH] Don't try to upload build to S3 for pull requests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c9864bc..83fefcb9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ before_script: - "bundle exec rakep" - "phantomjs --version" after_script: - - "test $TEST_SUITE = \"ruby\" && travis-artifacts upload --target-path assets/$TRAVIS_BRANCH --path public/scripts:scripts --path public/styles:styles || true" + - "test $TEST_SUITE = \"ruby\" && test $TRAVIS_PULL_REQUEST = \"false\" && travis-artifacts upload --target-path assets/$TRAVIS_BRANCH --path public/scripts:scripts --path public/styles:styles || true" notifications: irc: "irc.freenode.org#travis"