Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
dfirsht committed Mar 8, 2016
2 parents 336c893 + b3b34a4 commit 95e8c3e
Show file tree
Hide file tree
Showing 24 changed files with 658 additions and 167 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Kitura-CI"]
path = Kitura-CI
url = https://github.com/IBM-Swift/Kitura-CI.git
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Travis CI build file for Kitura-redis.
# Kitura runs on OS X and Linux (Ubuntu v15.10).

# whitelist (branches that should be built)
branches:
only:
- master
- develop

notifications:
slack: ibmswift:RHkwcHYh4kkYVRVzm9nZk5TF

matrix:
include:
- os: linux
services: docker
sudo: required
- os: osx
osx_image: xcode7.2
sudo: required

before_install:
- git submodule init
- git submodule update
- cd Kitura-CI && git checkout $TRAVIS_BRANCH && cd $TRAVIS_BUILD_DIR

script:
- echo ">> Let's build and test the '$TRAVIS_BRANCH' branch for Kitura-redis."
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./Kitura-CI/run_kitura_ubuntu_container.sh $TRAVIS_BRANCH $TRAVIS_BUILD_DIR Kitura-redis ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./Kitura-CI/build_kitura_package.sh ; fi
- echo ">> Build and tests completed. See above for status."
1 change: 1 addition & 0 deletions Kitura-CI
Submodule Kitura-CI added at c8231c
24 changes: 0 additions & 24 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ let package = Package(
name: "SwiftRedis",
dependencies: [
.Package(url: "https://github.com/IBM-Swift/Kitura-hiredis.git", versions: Version(0,2,0)..<Version(0,3,0)),
.Package(url: "https://github.com/IBM-Swift/Kitura-sys.git", versions: Version(0,2,0)..<Version(0,3,0)),
.Package(url: "https://github.com/IBM-Swift/Kitura-sys.git", versions: Version(0,3,0)..<Version(0,4,0)),
]
)
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# Kitura-redis
Swift Redis library
# KituraRedis

This is a Swift interface for interacting with a Redis database using [Hiredis](https://github.com/redis/hiredis).
[![Build Status](https://travis-ci.org/IBM-Swift/Kitura-redis.svg?branch=master)](https://travis-ci.org/IBM-Swift/Kitura-redis)
[![Build Status](https://travis-ci.org/IBM-Swift/Kitura-redis.svg?branch=develop)](https://travis-ci.org/IBM-Swift/Kitura-redis)

***Swift Redis library***

KituraRedis is a Swift library for interacting with a Redis database using [Hiredis](https://github.com/redis/hiredis).

It is dependent on the [Kitura-sys](https://github.com/IBM-Swift/Kitura-sys) module.

## Build:

- `swift build -Xcc -fblocks -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib` (Mac OS X)
- `swift build -Xcc -fblocks` (Linux)

## Running Tests:

- `swift test`

## Usage:
(Todo)
Loading

0 comments on commit 95e8c3e

Please sign in to comment.