From f17f2d51fa3a54f7c15b39692d672d6435d0e467 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Mon, 29 Dec 2014 23:34:34 +0000 Subject: [PATCH] Enable travis-ci for testing --- .travis.yml | 7 ++ .../xcshareddata/xcschemes/Alamofire.xcscheme | 110 ++++++++++++++++++ README.md | 2 + .../xcschemes/iOS Example.xcscheme | 88 ++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 .travis.yml create mode 100644 Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire.xcscheme create mode 100644 iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7faba23 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: objective-c +before_install: +- gem install xcpretty +script: +- set -o pipefail +- xcodebuild -project Alamofire.xcodeproj -scheme Alamofire test -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c +- xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" build -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c diff --git a/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire.xcscheme b/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire.xcscheme new file mode 100644 index 0000000..d16207a --- /dev/null +++ b/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire.xcscheme @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 979e79f..732aeb0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png) +[![Build Status](http://img.shields.io/travis/Alamofire/Alamofire.swift/master.svg?style=flat)](https://travis-ci.org/Alamofire/Alamofire) + Alamofire is an HTTP networking library written in Swift, from the [creator](https://github.com/mattt) of [AFNetworking](https://github.com/afnetworking/afnetworking). ## Features diff --git a/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme b/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme new file mode 100644 index 0000000..ac5ee67 --- /dev/null +++ b/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- GitLab