Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub - Travis ci job rejected

I am trying to integrate travis into my GitHub project.

Here is the travis.yml file:

language: java

I see all commits and pull requests in the UI, however it says job rejected in the status and not seems to run? Is that a configuration issue?

like image 602
oshai Avatar asked Jul 06 '16 18:07

oshai


2 Answers

In my case, the issue was that I named the file travis.yml instead of .travis.yml (Notice the leading dot).

like image 127
Shivendra Nath Misra Avatar answered Sep 21 '22 00:09

Shivendra Nath Misra


It is necessary to provide the script to run.

See this hello world example.

Also, look into this question for a maven example.

References:

  • Travis Java Documentation
  • Travis for Complete Beginners
like image 26
JrBenito Avatar answered Sep 24 '22 00:09

JrBenito