Skip to content

Commit

Permalink
apache#73 add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
lovepoem committed Jan 17, 2019
1 parent 7e0e2cd commit 152f8bd
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 16 deletions.
42 changes: 31 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
# Created by .ignore support plugin (hsz.mobi)
.idea
.classpath
# maven ignore
target/
*.jar
*.war
*.zip
*.tar
*.tar.gz
*.class

# eclipse ignore
.settings/
.project
.settings
target
.DS_Store
/logs
.classpath

# idea ignore
.idea/
*.ipr
*.iml
*.class
/distribution/bin
/distribution/conf
/distribution/lib
*.iws

# temp ignore
*.log
*.cache
*.diff
*.patch
*.tmp
distribution/*

# system ignore
.DS_Store
Thumbs.db
*.orig
*.class
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: java
sudo: false # faster builds

jdk:
- oraclejdk7
- openjdk7

cache:
directories:
Expand All @@ -11,7 +11,7 @@ cache:
install: true

script:
- travis_wait 30 ./mvnw clean install -DskipTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true
- travis_wait 30 mvn clean package

after_success:
- bash <(curl -s https://codecov.io/bash)
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# FESCAR: Fast & Easy Commit And Rollback

[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

-------
[![Build Status](https://travis-ci.org/alibaba/fescar.svg?branch=develop)](https://travis-ci.org/alibaba/fescar)
[![codecov](https://codecov.io/gh/alibaba/fescar/branch/develop/graph/badge.svg)](https://codecov.io/gh/alibaba/fescar)
![license](https://img.shields.io/github/license/alibaba/fescar.svg)
[![](https://img.shields.io/twitter/follow/fescar.svg?label=Follow&style=social&logoWidth=0)](https://twitter.com/intent/follow?screen_name=fescar)

## What is FESCAR?

Expand Down
24 changes: 24 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,29 @@
<version>1.5.0.Final</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
<check />
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 152f8bd

Please sign in to comment.