Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68392

Tweak .travis.yml to get its validation passing completely

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7.6, 3.8.3
    • 3.5.11, 3.6.9, 3.7.5, 3.8.2, 3.9
    • General
    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • Hide
      1. Click on the travis badges in this page (that are shown together with the branch/diff information.
      2. Verify the "View config" tab has NOT a yellow spot (that uses to indicate the existence of warnings).
      3. Click on "View config".
      4. Verify that you see the message "Build config validation —" (without any warning or info notifications.

      That's all!

      • Alternatively it's possible to go to https://config.travis-ci.com/explore and paste the complete .travis.yml file there. With warnings, they are shown at the top of the middle column (Parsed and validated config). Without warnings, only the json is shown
      Show
      Click on the travis badges in this page (that are shown together with the branch/diff information. Verify the "View config" tab has NOT a yellow spot (that uses to indicate the existence of warnings). Click on "View config". Verify that you see the message "Build config validation —" (without any warning or info notifications. That's all! Alternatively it's possible to go to https://config.travis-ci.com/explore and paste the complete .travis.yml file there. With warnings, they are shown at the top of the middle column (Parsed and validated config). Without warnings, only the json is shown

      This was detected by lucaboesch when reviewing MDL-66263.

      Basically, while current .travis.yml is ok and jobs are run properly, there are few warnings and infos reported that should be cleaned for 100% conformance with the validator.

      Here there is current validation report:

      Warning: root: deprecated key sudo (The key `sudo` has no effect anymore.)
      Info: root: missing os, using the default linux
      Info: root: key matrix is an alias for jobs, using jobs
      

      Note that any yml can be also validated @ https://config.travis-ci.com/explore any time

      All that validation is, still, a beta feature, but surely it's ok to get a complete

      Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Luca Bösch Luca Bösch
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 19 minutes
                1h 19m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.