The message 'No builds for this repository.'

Hello,

I am currently conducting tests to study the DevOps environment of GitHub and Travis-CI. My GitHub repository is a public repository, and I have written the .travis.yml file as shown below and committed and pushed it. However, when I access Travis-CI, it displays the message “No builds for this repository.” I am curious why this is happening.

<!-- .travis.yml --!>
language: java
jdk:
  - openjdk17

branches:
  only:
    - master

cache:
  directories:
    - '$HOME/.m2/repository'
    - '$HOME/.gradle'

script:
  - "hostname"
  - "ip address show eth0 | grep ether"
  - "./gradlew clean"

notifications:
  email:
    recipients:
      - myemail@gmail.com

This sample repository is a Java source project, using Gradle as the build tool, and it utilizes OpenJDK 17.

Hi @chane4266,

Is this still occurring?

Hi @Montana

Thank you for your response.

The issue has been resolved. It turns out that the cause of the issue was a syntax error in a part of the .travis-ci.yml file that I wrote. It is now working very well and has been a great help in studying the DevOps environment with Travis-CI.