Skip to content

Commit

Permalink
chore: Add Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mvitz committed Jun 20, 2018
1 parent e5e13d4 commit fc8768c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.yml]
indent_size = 2

[*.xml]
indent_size = 2

Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

# These files are text and should be normalized
# (Convert crlf => lf)
*.java text
*.md text
*.properties text
*.yml text
*.xml text


Expand Down
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
language: java
sudo: false
install: true
jdk:
- oraclejdk8
- oraclejdk9
script:
- ./mvnw clean install javadoc:javadoc
cache:
directories:
- "$HOME/.m2"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Spring Cookie
*- Come to the dark side, we have cookies*

[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Build Status](https://travis-ci.org/innoq/spring-cookie.svg?branch=master)](https://travis-ci.org/innoq/spring-cookie)

Some components for
[Spring MVC](https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html)
Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@
<url>https://innoq.com</url>
</organization>

<ciManagement>
<url>https://travis-ci.org/innoq/spring-cookie</url>
<system>Travis CI</system>
</ciManagement>

<issueManagement>
<url>https://github.com/innoq/spring-cookie/issues</url>
<system>GitHub Issues</system>
Expand Down Expand Up @@ -241,6 +246,11 @@
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
Expand Down

0 comments on commit fc8768c

Please sign in to comment.