You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/10/26 11:41:27 UTC

[GitHub] [netbeans] blackleg opened a new pull request #1598: Refactor Travis config [WIP]

blackleg opened a new pull request #1598: Refactor Travis config [WIP]
URL: https://github.com/apache/netbeans/pull/1598
 
 
   I try to modify the Travis config file to allow it run all tests that are working currently and refactor config to do it more human readable and customizable.
   
   List of changes: 
   - Instead of use a big script configured by environment variables, we could write a script per matrix. This is an example:
   ```yaml
   language: java
   git:
     depth: 1
   addons:
     apt:
       packages:
         - ant
         - ant-optional
         - xvfb
   install:
     - export DISPLAY=:99.0
     - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
     - sleep 3
   matrix:
       include:
           - name: Check line endings
             script: nbbuild/travis/check-line-endings.sh
             
           - name: Check RAT report
             script:
               - ant -quiet build-source-config
               - mkdir scratch
               - cd scratch
               - unzip -qq ../nbbuild/build/release-src*
               - ant -quiet rat -Drat-report.haltonfailure=true
   ```
   - Add a name per job: [#naming-jobs-within-matrices](https://docs.travis-ci.com/user/customizing-the-build/#naming-jobs-within-matrices)
   - Change Travis git deep: https://docs.travis-ci.com/user/customizing-the-build/#git-clone-depth 
   - Add a job to test harness modules.
   - Add a job to test platform modules.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists