Add Travis CI build status to description

This commit is contained in:
GeorgH93 2016-03-11 22:10:39 +01:00
parent 271da25236
commit 900d106a7c
3 changed files with 12 additions and 1 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
sudo: false
language: java
jdk: oraclejdk7
cache:
directories:
- '$HOME/.m2/repository'

View File

@ -4,3 +4,6 @@ Bukkit_Minepacks
Backpack Plugin for Bukkit
http://dev.bukkit.org/bukkit-plugins/minepacks/
[![Build Status](https://travis-ci.org/GeorgH93/Bukkit_Minepacks.svg?branch=master)](https://travis-ci.org/GeorgH93/Bukkit_Minepacks)

View File

@ -97,7 +97,7 @@ public class SQLite extends SQL
{
try(Connection connection = getConnection(); Statement stmt = connection.createStatement())
{
stmt.execute("CREATE TABLE IF NOT EXISTS `backpack_players` (`player_id` INTEGER PRIMARY KEY AUTOINCREMENT, `name` CHAR(16) NOT NULL" + ((useUUIDs) ? " , `uuid` CHAR(32) UNIQUE" : " UNIQUE") + ");");
stmt.execute("CREATE TABLE IF NOT EXISTS `backpack_players` (`player_id` INTEGER PRIMARY KEY AUTOINCREMENT, `name` CHAR(16) NOT NULL" + ((useUUIDs) ? " , `uuid` CHAR(32)" : "") + " UNIQUE);");
if(useUUIDs)
{
try