oshai
oshai

Reputation: 15365

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?

Upvotes: 6

Views: 3211

Answers (3)

Kapil Gupta
Kapil Gupta

Reputation: 332

In my case, I had named the file as .travis.yaml(notice extra a) instead of .travis.yml

Upvotes: 1

Shivendra Nath Misra
Shivendra Nath Misra

Reputation: 103

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

Upvotes: 6

JrBenito
JrBenito

Reputation: 1003

It is necessary to provide the script to run.

See this hello world example.

Also, look into this question for a maven example.

References:

Upvotes: 4

Related Questions