Commit e48a3b50 authored by 吴晟's avatar 吴晟
Browse files

测试全部编译,以及coveralls

parent c6b826fc
Loading
Loading
Loading
Loading
+0 −28
Original line number Diff line number Diff line
@@ -5,40 +5,12 @@ script:
  - mvn install:install-file  -Dfile=jmxri-1.2.1.jar  -DgroupId=com.sun.jmx  -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar
  - mvn install:install-file  -Dfile=dubbox-2.8.4.jar  -DgroupId=com.alibaba  -DartifactId=dubbox -Dversion=2.8.4 -Dpackaging=jar
  
  - cd ..
  - cd skywalking-protocol
  - mvn clean install -Dmaven.test.skip=true
  
  - cd ..
  - cd skywalking-api
  - mvn clean install -Dmaven.test.skip=true

  - cd ..
  - cd samples/skywalking-auth
  - mvn clean install -Dmaven.test.skip=true 
  
  - cd ..
  - cd ..
  - cd skywalking-sdk-plugin
  - mvn clean install -Dmaven.test.skip=true
  
  - cd ..
  - cd skywalking-server
  - mvn clean install -Dmaven.test.skip=true
  
  - cd ..
  - cd skywalking-alarm
  - mvn clean install -Dmaven.test.skip=true
  
  - cd ..
  - cd skywalking-analysis
  - mvn clean install -Dmaven.test.skip=true
  
  - cd ..
  - cd skywalking-webui
  - mvn clean install -Dmaven.test.skip=true

after_success:
  - cd ..
  - cd skywalking-api
  - mvn clean cobertura:cobertura coveralls:report
 No newline at end of file

pom.xml

0 → 100644
+75 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>com.ai.cloud</groupId>
	<artifactId>skywalking</artifactId>
	<version>1.0-SNAPSHOT</version>
	<modules>
		<module>skywalking-protocol</module>
		<module>skywalking-api</module>
		<module>skywalking-sdk-plugin</module>
		<module>skywalking-server</module>
		<module>skywalking-alarm</module>
		<module>skywalking-analysis</module>
		<module>skywalking-webui</module>
	</modules>
	<packaging>pom</packaging>

	<name>skywalking</name>
	<url>http://maven.apache.org</url>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
					<encoding>${project.build.sourceEncoding}</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.4.3</version>
				<configuration>
					<encoding>${project.build.sourceEncoding}</encoding>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<plugins>
		<!-- plugin for coveralls.io -->
		<plugin>
			<groupId>org.eluder.coveralls</groupId>
			<artifactId>coveralls-maven-plugin</artifactId>
			<version>4.1.0</version>
		</plugin>
		<plugin>
			<groupId>org.codehaus.mojo</groupId>
			<artifactId>cobertura-maven-plugin</artifactId>
			<version>2.7</version>
			<configuration>
				<format>xml</format>
				<maxmem>256m</maxmem>
				<!-- aggregated reports for multi-module projects -->
				<aggregate>true</aggregate>
			</configuration>
		</plugin>
	</plugins>
</project>
 No newline at end of file
+6 −18
Original line number Diff line number Diff line
@@ -2,6 +2,12 @@
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<parent>
		<groupId>com.ai.cloud</groupId>
		<artifactId>skywalking</artifactId>
		<version>1.0-SNAPSHOT</version>
	</parent>

	<groupId>com.ai.cloud</groupId>
	<artifactId>skywalking-api</artifactId>
	<version>1.0-SNAPSHOT</version>
@@ -118,24 +124,6 @@
					</execution>
				</executions>
			</plugin>

			<!-- plugin for coveralls.io -->
			<plugin>
				<groupId>org.eluder.coveralls</groupId>
				<artifactId>coveralls-maven-plugin</artifactId>
				<version>4.1.0</version>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<format>xml</format>
					<maxmem>256m</maxmem>
					<!-- aggregated reports for multi-module projects -->
					<aggregate>true</aggregate>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>