You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ra...@apache.org on 2021/02/04 04:19:26 UTC

[incubator-annotator] branch master updated: Publish from a single CI job

This is an automated email from the ASF dual-hosted git repository.

randall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 490a232  Publish from a single CI job
490a232 is described below

commit 490a2323bf64387f2a1c7c92e4a67f300bc93886
Author: Randall Leeds <ra...@apache.org>
AuthorDate: Wed Feb 3 20:18:40 2021 -0800

    Publish from a single CI job
    
    Add a deploy stage to CI so that it runs after all the test jobs
    complete and only runs once, rather than once for each Node.js version.
---
 .travis.yml | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8781f5a..b10650e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,16 +15,20 @@ before_install:
 before_deploy:
   - git checkout master
 
-# See https://docs.travis-ci.com/user/deployment-v2
-deploy:
-  - provider: npm
-    edge: true
-    api_token:
-      secure: kjnHYXAsaqKFX9tYWRC4Zp/k9e8RQ79jVdjBNKlFExmPL5AvocYz/YeCbA/hZSnR02IjVHDAgWxVKCSDcIpDmhs0Bd7fOuyNmNm+ET0aFF6emtAMnw4RfmS0z0ZcQ8gDk3EhQ+c59VTe6s3TexBxXXUhEclKghF/iRFrcHtPBxmqTuo1rH9Nyp9Kk7QLFHMC2y1AWeTpjCdKA5ooxPb353oXRHS985sirnYkzUphTkMSFkK27hupbDpDSfiHYOZEZzGWUrgT7YYALqcck22Jqy7MdWhZgoAOFr0R26oz7wVssnvt2PNc8hFgK4oLBRwKloNjBKMBChRoJ257yGM2ak+z844xFx36u1x/MOS6NhC15UOdyZLKm6gyGFvNOUVuPmLpNhwh/0DkZ+N56FevOWoAT7+fg3Op67KnGKk3TZfEPKOixqF4w6TfhJCEQfEvZg/6618SfoxuI5SidBqweRNT9B+iTo [...]
-    cleanup: true
-    run_script: publish -- --canary --exact --force-publish "*" --yes minor
-    on:
-      branch: master
+jobs:
+  include:
+    - stage: deploy
+      node_js: node
+      script: skip
+      deploy:
+        provider: npm
+        edge: true
+        api_token:
+          secure: kjnHYXAsaqKFX9tYWRC4Zp/k9e8RQ79jVdjBNKlFExmPL5AvocYz/YeCbA/hZSnR02IjVHDAgWxVKCSDcIpDmhs0Bd7fOuyNmNm+ET0aFF6emtAMnw4RfmS0z0ZcQ8gDk3EhQ+c59VTe6s3TexBxXXUhEclKghF/iRFrcHtPBxmqTuo1rH9Nyp9Kk7QLFHMC2y1AWeTpjCdKA5ooxPb353oXRHS985sirnYkzUphTkMSFkK27hupbDpDSfiHYOZEZzGWUrgT7YYALqcck22Jqy7MdWhZgoAOFr0R26oz7wVssnvt2PNc8hFgK4oLBRwKloNjBKMBChRoJ257yGM2ak+z844xFx36u1x/MOS6NhC15UOdyZLKm6gyGFvNOUVuPmLpNhwh/0DkZ+N56FevOWoAT7+fg3Op67KnGKk3TZfEPKOixqF4w6TfhJCEQfEvZg/6618SfoxuI5SidBqweRNT9B [...]
+        cleanup: true
+        run_script: publish -- --canary --exact --force-publish "*" --yes minor
+        on:
+          branch: master
 
 branches:
   only: