diff --git a/.travis.yml b/.travis.yml index 043a67d4f..c312985fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: env: DISPLAY=:99.0 ADDITIONAL="-Pjacoco,build-ide,test-ide coveralls:report sonar:sonar" # only on PR - os: osx - osx_image: xcode8.3 + osx_image: xcode10.1 # JDK 11 env: ADDITIONAL="-Pbuild-ide,test-ide" if: type IN (pull_request) @@ -47,4 +47,4 @@ after_success: - find ./edelta.parent/edelta.ui.tests/target/ -name "*.log" after_failure: - - find ./edelta.parent/edelta.ui.tests/target/ -name "*.log" -exec cat {} \; + - find ./edelta.parent/*/target/work/ -name "*.log" -exec cat {} \; diff --git a/edelta.parent/edelta.lib.tests/pom.xml b/edelta.parent/edelta.lib.tests/pom.xml index 0d66d3da7..23d1ded38 100644 --- a/edelta.parent/edelta.lib.tests/pom.xml +++ b/edelta.parent/edelta.lib.tests/pom.xml @@ -16,4 +16,29 @@ src + + + + + org.eclipse.tycho + target-platform-configuration + + + + + + eclipse-feature + org.eclipse.rcp + 0.0.0 + + + + + + + diff --git a/edelta.parent/edelta.swtbot.tests/pom.xml b/edelta.parent/edelta.swtbot.tests/pom.xml index 1f4e2cb19..929712326 100644 --- a/edelta.parent/edelta.swtbot.tests/pom.xml +++ b/edelta.parent/edelta.swtbot.tests/pom.xml @@ -15,7 +15,7 @@ ${project.build.directory}/work/edelta - + -Dorg.eclipse.swtbot.search.timeout=10000 src @@ -33,7 +33,6 @@ ${project.build.directory}/work/edelta.app/Contents/Eclipse/ - -XstartOnFirstThread @@ -41,17 +40,6 @@ - - org.eclipse.tycho - tycho-surefire-plugin - - true - false - ${os-jvm-flags} -Dorg.eclipse.swtbot.search.timeout=10000 - p2Installed - ${test-work-directory} - - @@ -110,6 +98,16 @@ + + org.eclipse.tycho + tycho-surefire-plugin + + true + false + p2Installed + ${test-work-directory} + + diff --git a/edelta.parent/edelta.tests.parent/pom.xml b/edelta.parent/edelta.tests.parent/pom.xml index 24952dc73..465da254a 100644 --- a/edelta.parent/edelta.tests.parent/pom.xml +++ b/edelta.parent/edelta.tests.parent/pom.xml @@ -24,6 +24,10 @@ false + + + ${tycho.testArgLine} + diff --git a/edelta.parent/edelta.tests/pom.xml b/edelta.parent/edelta.tests/pom.xml index 3ca5b8a19..4cd12a3fa 100644 --- a/edelta.parent/edelta.tests/pom.xml +++ b/edelta.parent/edelta.tests/pom.xml @@ -1,30 +1,42 @@ - - 4.0.0 - - edelta - edelta.tests.parent - 0.3.3-SNAPSHOT - ../edelta.tests.parent/pom.xml - - edelta.tests - eclipse-test-plugin + + 4.0.0 + + edelta + edelta.tests.parent + 0.3.3-SNAPSHOT + ../edelta.tests.parent/pom.xml + + edelta.tests + eclipse-test-plugin - - - - org.eclipse.xtend - xtend-maven-plugin - - - org.eclipse.tycho - tycho-surefire-plugin - ${tycho-version} - - false - - - - + + + + org.eclipse.xtend + xtend-maven-plugin + + + org.eclipse.tycho + target-platform-configuration + + + + + + eclipse-feature + org.eclipse.rcp + 0.0.0 + + + + + + + diff --git a/edelta.parent/edelta.ui.tests/pom.xml b/edelta.parent/edelta.ui.tests/pom.xml index c5bae8c92..9ef54f9d5 100644 --- a/edelta.parent/edelta.ui.tests/pom.xml +++ b/edelta.parent/edelta.ui.tests/pom.xml @@ -1,133 +1,118 @@ - - 4.0.0 - - edelta - edelta.tests.parent - 0.3.3-SNAPSHOT - ../edelta.tests.parent/pom.xml - - edelta.ui.tests - eclipse-test-plugin + + 4.0.0 + + edelta + edelta.tests.parent + 0.3.3-SNAPSHOT + ../edelta.tests.parent/pom.xml + + edelta.ui.tests + eclipse-test-plugin - - ${os-jvm-flags} -DbuildingWithTycho=true - ${ui-tests-properties} - + + -DbuildingWithTycho=true + - - - testing-on-mac - - - mac - - - - -XstartOnFirstThread - - - - - org.eclipse.tycho - target-platform-configuration - - - - - - eclipse-feature - org.eclipse.rcp - 0.0.0 - - - - eclipse-feature - edelta.feature - 0.0.0 - - - - eclipse-feature - org.eclipse.jdt - 0.0.0 - - - - - - - - - - testing-NOT-on-mac - - - !mac - - - - - - org.eclipse.tycho - target-platform-configuration - - - - - - eclipse-feature - org.eclipse.rcp - 0.0.0 - - - - eclipse-feature - edelta.feature - 0.0.0 - - - - - - - - - - jacoco - - false - - - - ${tycho.testArgLine} ${ui-tests-properties} - - - + + + testing-on-mac + + + mac + + + + + + org.eclipse.tycho + target-platform-configuration + + + + + + eclipse-feature + org.eclipse.rcp + 0.0.0 + + + + eclipse-feature + edelta.feature + 0.0.0 + + + + eclipse-feature + org.eclipse.jdt + 0.0.0 + + + + + + + + + + testing-NOT-on-mac + + + !mac + + + + + + org.eclipse.tycho + target-platform-configuration + + + + + + eclipse-feature + org.eclipse.rcp + 0.0.0 + + + + eclipse-feature + edelta.feature + 0.0.0 + + + + + + + + + - - - - org.eclipse.xtend - xtend-maven-plugin - - - org.eclipse.tycho - tycho-surefire-plugin - ${tycho-version} - - false - true - ${argLine} - - - - + + + + org.eclipse.xtend + xtend-maven-plugin + + + org.eclipse.tycho + tycho-surefire-plugin + + true + + + + diff --git a/edelta.parent/pom.xml b/edelta.parent/pom.xml index eec129a89..44771a28d 100644 --- a/edelta.parent/pom.xml +++ b/edelta.parent/pom.xml @@ -16,6 +16,12 @@ 1.8 1.8 + + + + + + + + macos + + + mac + + + + + -XstartOnFirstThread + + + + jdk9-or-newer + + [9,) + + + --add-modules=ALL-SYSTEM + + release-composite @@ -461,6 +500,17 @@ -err:-forbidden + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + + ${additionalTestArgLine} ${platformSystemProperties} ${systemProperties} ${moduleProperties} + false + false + + org.eluder.coveralls coveralls-maven-plugin