Tag: travis ci

我的Kotlin项目无法解决Travis-CI上的依赖关系

我试图将我的Kotlin项目与Travis-CI集成,无法生成一个成功的构建,我得到消息说我的gradle没有找到存储库… 存储库在我的文件build.gradle version '1.0-SNAPSHOT' buildscript { dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.0.0-beta-4584" } } apply plugin: 'java' apply plugin: 'kotlin' sourceCompatibility = 1.5 repositories { mavenCentral() maven { url "http://repository.jetbrains.com/all" } } dependencies { testCompile 'org.spek:spek:0.1.188' compile "org.jetbrains.kotlin:kotlin-stdlib:1.0.0-beta-4584" testCompile group: 'junit', name: 'junit', version: '4.11' } 我的Travis非常简单 language: java 收到的消息是 FAILURE: Build failed with an exception. * […]

Travis ci造成失败 – 原因:PermGen空间

我使用Kotlin创建了一个Android应用程序,并在回购中添加了Travis CI支持。 构建总是失败。 原因:PermGen空间 这是什么意思? 我的.travis.yml文件是 language: android android: components: – tools – platform-tools – build-tools-23.0.2 – android-23

处理codecov覆盖率报告时出错

我正在使用kotlin,gradle,travis ci和codecov。 建立似乎在codecov失败https://codecov.io/gh/config4k/config4k/commit/01ac813e057b3de25274b03c07ab39f348d5074d build.gradle: buildscript { ext.kotlin_version = '1.0.4' repositories { mavenCentral() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'java' apply plugin: 'kotlin' apply plugin: 'jacoco' repositories { mavenCentral() } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" compile 'com.typesafe:config:1.3.1' testCompile 'io.kotlintest:kotlintest:1.3.5' } sourceSets { main.kotlin.srcDirs += 'src/main' test.kotlin.srcDirs += 'src/test' } jacocoTestReport { reports […]

在TeamCity上用kotlin编译android项目失败

我的构建步骤使用TeamCity模板中的gradle构建,但不幸的是我得到: [16:29:22][:presentation:compileLocalDebugKotlin] Using kotlin incremental compilation [16:29:48][:presentation:compileLocalDebugKotlin] Compilation with Kotlin compile daemon was not successful [16:29:48][:presentation:compileLocalDebugKotlin] java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: [16:29:48][:presentation:compileLocalDebugKotlin] java.io.EOFException [16:29:48][:presentation:compileLocalDebugKotlin] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:229) [16:29:48][:presentation:compileLocalDebugKotlin] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162) 任何想法,为什么我可能会得到这个?

Travis CI:Maven未能获得Kotlin 1.1.1对Linux的依赖

我在我的Maven项目中将Kotlin升级到最新版本(1.1.1),现在在Linux上Travis CI构建失败。 Mac OS版本在Travis以及我的本地机器上工作正常。 看起来它不能找到依赖。 为什么? https://travis-ci.org/AlexP11223/minic/jobs/217293085 hostname: travis-worker-gce-org-prod5-1:179fbc84-4d6a-4974-a61a-578cc4c912e2 version: v2.6.1-2-g9fbf704 https://github.com/travis-ci/worker/tree/9fbf704a6a755301e6b86b28a87b3f0636e502a8 …….. Build language: java Build group: stable Build dist: precise ……….. Build image provisioning date and time Fri Dec 2 04:42:35 UTC 2016 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 …….. Linux Version 3.13.0-103-generic Cookbooks Version 9c6cd11 https://github.com/travis-ci/travis-cookbooks/tree/9c6cd11 […]

Kotlin建立在travis-CI上但没有测试运行

我试图设置我的项目运行在travis-CI上的构建。 我已经得到它的设置,以便它运行并通过,但我的测试不会运行。 他们本地通过。 为了测试我设置一个测试失败,继续构建仍然通过。 这是一个gradle项目,使用testng。 build.gradle文件 group 'org.napoleon' version '1.0-SNAPSHOT' buildscript { ext.kotlin_version = '1.1.4-3' repositories { mavenCentral() jcenter() } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } apply plugin: 'kotlin' repositories { mavenCentral() jcenter() } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version" testCompile group : 'org.testng', name : 'testng', version: '6.8' } task wrapper(type: Wrapper) { gradleVersion = '3.4.1' […]