]> granicus.if.org Git - libjpeg-turbo/commitdiff
Travis: Fix deployment issue (2nd attempt)
authorDRC <information@libjpeg-turbo.org>
Fri, 7 Oct 2016 17:54:55 +0000 (12:54 -0500)
committerDRC <information@libjpeg-turbo.org>
Fri, 7 Oct 2016 17:54:55 +0000 (12:54 -0500)
.travis.yml

index 6f43157b49ad83686a90a6964cc0aebc8335ea4b..31c41e7fbcf566e66e1de299db7d0925658384a1 100644 (file)
@@ -98,10 +98,19 @@ before_deploy:
     fi
 
 deploy:
-  provider: script
-  script:
-    if [ "${BUILD_OFFICIAL:-}" != "" ]; then
-      mv ~/src/ljt.nightly/latest/log-$TRAVIS_OS_NAME.txt ~/src/ljt.nightly/latest/files/ &&
-      ~/src/buildscripts/uploadljt dcommander $TRAVIS_BRANCH.$TRAVIS_OS_NAME;
-    fi
-  all_branches: true
+  - provider: script
+    script:
+      if [ "${BUILD_OFFICIAL:-}" != "" ]; then
+        mv ~/src/ljt.nightly/latest/log-$TRAVIS_OS_NAME.txt ~/src/ljt.nightly/latest/files/ &&
+        ~/src/buildscripts/uploadljt dcommander $TRAVIS_BRANCH.$TRAVIS_OS_NAME;
+      fi
+    on:
+      branch: master
+  - provider: script
+    script:
+      if [ "${BUILD_OFFICIAL:-}" != "" ]; then
+        mv ~/src/ljt.nightly/latest/log-$TRAVIS_OS_NAME.txt ~/src/ljt.nightly/latest/files/ &&
+        ~/src/buildscripts/uploadljt dcommander $TRAVIS_BRANCH.$TRAVIS_OS_NAME;
+      fi
+    on:
+      branch: dev