-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding continuous integration using travis-ci.org #65
Conversation
Hm. Does it really run the one UI test that is included?
Both Jenkins environments that are currently configured do not. Tom On 2013-09-18 14:26, Matthieu Brouillard wrote:
|
Hi Tom, I did not checked how much UI tests are expected to run but I guess that at least one UI test exists in the project as the first build was failing. I'll have a deeper look and compare build results from my machine and travis-ci. Matthieu |
It would be great to have a build that actually tests the UI. Now there is only one, but more are to be expected. If not, what would be the advantage of building via Travis instead of Jenkins? Tom On 2013-09-18 15:10, Matthieu Brouillard wrote:
|
add intilization of JavaFX Platform for some test (to avoid unnecessary log errors)
Tom, I enhanced the travis.yml file (only in my fork at the moment) so that the build output is more friendly:
Result is as follow <!--
From TRAVIS-CI : build\test-results\TEST-jfxtras.labs.scene.control.test.ListSpinnerTest1.xml
see build: https://travis-ci.org/McFoggy/jfxtras-labs/builds/11511704
-->
<testsuite name="jfxtras.labs.scene.control.test.ListSpinnerTest1" tests="1" failures="0" errors="0" timestamp="1970-01-01T00:00:00" hostname="testing-worker-linux-6-2-11850-linux-2" time="1.379515547465E9">
<properties/>
<testcase name="select" classname="jfxtras.labs.scene.control.test.ListSpinnerTest1" time="6.398"/>
<system-out><![CDATA[Loading jemmy properties from /home/travis/.jemmy.properties
Property file /home/travis/.jemmy.properties does not exists. Ignoring.
Input factory set to org.jemmy.input.AWTRobotInputFactory[otherVM=false, mouseSmoothness=2147483647, keyMap=org.jemmy.input.AWTMap@16f64454]
]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
<!-- From MY_COMPUTER : build\test-results\TEST-jfxtras.labs.scene.control.test.ListSpinnerTest1.xml -->
<?xml version="1.1" encoding="UTF-8"?>
<testsuite name="jfxtras.labs.scene.control.test.ListSpinnerTest1" tests="1" failures="0" errors="0" timestamp="1970-01-01T00:00:00" hostname="xxxxxxxxxxx" time="1.379514761609E9">
<properties/>
<testcase name="select" classname="jfxtras.labs.scene.control.test.ListSpinnerTest1" time="1.766"/>
<system-out><![CDATA[Loading jemmy properties from D:\Users\awxgx\.jemmy.properties
Property file D:\Users\awxgx\.jemmy.properties does not exists. Ignoring.
Input factory set to org.jemmy.input.AWTRobotInputFactory[otherVM=false, mouseSmoothness=2147483647, keyMap=org.jemmy.input.AWTMap@1b8aa1a]
]]></system-out>
<system-err><![CDATA[WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/D:/dev/tools/orbis/java/1.7.0_21-AP-3.0.0/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/dev/tools/orbis/java/1.7.0_21-AP-3.0.0/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/dev/tools/orbis/java/1.7.0_21-AP-3.0.0/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/D:/dev/tools/orbis/java/1.7.0_21-AP-3.0.0/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-mark-color' while resolving lookups for '-fx-background-color' from rule '*.ListSpinner *.idle' in stylesheet file:/D:/dev/projects/os/JavaFX/jfxtras-labs-McFoggy/build/resources/main/jfxtras/labs/internal/scene/control/ListSpinner.css
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-mark-color' while resolving lookups for '-fx-background-color' from rule '*.ListSpinner *.idle' in stylesheet file:/D:/dev/projects/os/JavaFX/jfxtras-labs-McFoggy/build/resources/main/jfxtras/labs/internal/scene/control/ListSpinner.css
]]></system-err>
</testsuite> So except that system-err output is different (probably because of output redirection of travis jobs) we have the same result for the GUI test using Jemmy. I also pushed a failing test (in the Jemmy test) to a branch in my fork and it is failing as expected, see build 5. Matthieu |
…re on build failure
Tom, just to add some arguments and answer your previous question, I would say that the travis build:
|
The fact that travis is actually running the UI test is a big gain. When you've added the chance, I'll merge the pull request. Do you prefer developer rights on the project? BTw, any chance Travis also has JDK8ea available? Tom On 2013-09-18 17:20, Matthieu Brouillard wrote:
|
> When you've added the chance, I'll merge the pull request. > Do you prefer developer rights on the project? > BTw, any chance Travis also has JDK8ea available? Thanks. |
On 2013-09-19 10:50, Matthieu Brouillard wrote:
Sorry, I thought you would "update the travis.yml" which is part of a pull request. So that would mean you expect me to merge it.
Ok, I'll set you up with that ASAP, you'll need to sign a waiver (as all committers have done).
Great!
|
Tom, If you merge the pull request you'll benefit from the latest version of the travis.yml file. > sign a waiver |
Adding continuous integration using travis-ci.org
Addition of .travis.yml in order to integrate travis-ci infrastructure.
What would be required then would be to link a travis account to the Github JFXtras/jfxtras-labs repository. This must be done by a member of the JFXtras community github project because right access is required so that Travis can register a pull hook. I would be able to do it I think if someone could add me to the JFXtras github community.
The build from travis is correctly working as shown on the ci-build of my fork : https://travis-ci.org/McFoggy/jfxtras-labs
Next step would be then to add automatic snapshot deployment, but it is another story.