Bläddra i källkod

Added Travis-CI, codecov and LICENSE file

master
BinHong Lee 7 år sedan
förälder
incheckning
55f52245aa
4 ändrade filer med 70 tillägg och 22 borttagningar
  1. +13
    -0
      .travis.yml
  2. +21
    -0
      LICENSE
  3. +4
    -2
      README.md
  4. +32
    -20
      pom.xml

+ 13
- 0
.travis.yml Visa fil

@@ -0,0 +1,13 @@
language: java
matrix:
include:
- os: linux
- os: osx
jdk:
- oraclejdk8
- oraclejdk7

script: "mvn cobertura:cobertura"

after_success:
- bash <(curl -s https://codecov.io/bash)

+ 21
- 0
LICENSE Visa fil

@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Bin Hong Lee

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 4
- 2
README.md Visa fil

@@ -1,8 +1,10 @@
# Library System

##### NOTE: Still not working as intended.
[![Build Status](https://travis-ci.org/binhonglee/LibrarySystem.svg?branch=master)](https://travis-ci.org/binhonglee/LibrarySystem)
[![codecov](https://codecov.io/gh/binhonglee/LibrarySystem/branch/master/graph/badge.svg)](https://codecov.io/gh/binhonglee/LibrarySystem)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/binhonglee/LibrarySystem/blob/master/LICENSE)

Documentations can be found [here](https://binhonglee.github.io/LibrarySystem/).
API Documentations can be found [here](https://binhonglee.github.io/LibrarySystem/docs).

---



+ 32
- 20
pom.xml Visa fil

@@ -21,24 +21,36 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<mainClass>libsys.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<mainClass>libsys.Main</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5</version>
<configuration>
<source>1.6</source>
<target>1.6</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>

Laddar…
Avbryt
Spara