Opened 7 years ago
Closed 7 years ago
#16535 closed defect (fixed)
Travis CI giving error
Reported by: | Biswesh | Owned by: | Biswesh |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin pt_assistant | Version: | |
Keywords: | Cc: | michael2402, Don-vip |
Description (last modified by )
My last commit met with build error in Travis CI
https://travis-ci.org/JOSM/pt_assistant/builds/409212728
Although it fails in test cases but they pass all the cases on my system.
I have attached here which I got the result on running gradle test --stacktrace.
I don't have much knowledge about the error. What could be the possible reason?
Attachments (1)
Change History (8)
by , 7 years ago
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Can you add this to your build.gradle?
test { testLogging { exceptionFormat = 'full' } }
This shows the full exception stack trace and will show you which method is missing.
comment:3 by , 7 years ago
After adding the command, https://travis-ci.org/JOSM/pt_assistant/jobs/409234268
comment:4 by , 7 years ago
It is an error due to JOSMTestRules which is used as @Rule in the unit tests. Was it depreciated?
Its use :
@Rule
public JOSMTestRules rules = new JOSMTestRules().preferences().platform();
comment:5 by , 7 years ago
You have to update the josmCompileVersion. The dependency josm-unittest
is only available as "SNAPSHOT" and will therefore become incompatible with older JOSM versions from time to time. The minJosmVersion does not need to be updated, since josm-unittest
is only used for testing not when compiling.
comment:7 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Result of gradle test --stacktrace.