-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Hxucaa/develop
A bunch of fixes to travis and scripts.
- Loading branch information
Showing
10 changed files
with
91 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,39 @@ | ||
language: objective-c | ||
osx_image: xcode7.3 | ||
git: | ||
submodules: false | ||
env: | ||
global: | ||
- FRAMEWORK_NAME=ValidationNEL | ||
script: | ||
- carthage bootstrap | ||
- sh bin/ci | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -J 'ValidationNEL' | ||
- LC_CTYPE=en_US.UTF-8 | ||
- FRAMEWORK_NAME=ValidationNEL | ||
matrix: | ||
include: | ||
- os: osx | ||
language: objective-c | ||
osx_image: xcode7.3 | ||
script: | ||
- pod lib lint | ||
- os: osx | ||
language: objective-c | ||
osx_image: xcode7.3 | ||
before_install: | ||
- brew update | ||
- brew outdated carthage || brew upgrade carthage | ||
before_script: | ||
# rebuild frameworks if Cartfile.resolved is changed from last build | ||
- sh bin/bootstrap-if-needed | ||
script: | ||
- sh bin/ci | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -J 'ValidationNEL' | ||
cache: | ||
directories: | ||
- Carthage/Build | ||
before_deploy: | ||
- carthage build --no-skip-current | ||
- carthage archive $FRAMEWORK_NAME | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: DpMEwhskvDdD86ippGTDFtj4EsLet6As4zC0xR3TrEpQx6QPEwnKgKCkW8gyMlDndOYPHoSiPCn046zMLWPfSPnl7ihqhOos/khws/vZvjA7oiwUEW6ujTxvngrosMxoDOOeJGoA6lCUf232R+kgKBpOVkTdscAfjh9BrTkeTlCGhAxY/tk/vjoA6fRpx+tYNcIRu1mA8oWKlqpOv8WZVN0A/gCr3siTrZHdFLJ8MW7mw4bsI/S9SZQfnlrfUDWCp6FOGM69QgHpd7Zo5JgVAjBowmzOYvodtWMKZlotTrRVSoIN6sTRCTyr8bHn6mMYi6ItMx5nkNvnW+DQKEdMVGE3X2kHZY1B+5eDz2/vpq5EhaNVLnY3DZjAnSYC9RlgYsWYz1Wek6MzNyphP5W4KO+YEfG6imB04ZrSqJd5a0ZXRYnBSKSu/QQnAa55BJESdHepZTXS5kuTWihUVZghC4zfirQLIRvAYOVOFoI3ZqMVc61x2pzGnl/NjLuqEGSB/NtLQ/gznMYaCIKOGEJc9J7ZBAa1qNvCqSA33hLzV7DpAAOXutStPJkCJ8qiICX2HTR4hW8WdF64CLr0ng1WcXk+ChV0XfC/Qdm6PD/Mw9uPV9xp8g98Mr9IukGdgQUco+1UMbhdB4MOukV7txFXlNSn/5ZoWPdnN3PXMN4I4c8= | ||
file: ValidationNEL.framework.zip | ||
skip_cleanup: true | ||
on: | ||
repo: Hxucaa/ValidationNEL | ||
tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github "Quick/Quick" | ||
github "Quick/Nimble" | ||
github "Quick/Quick" == 0.9.3 | ||
github "Quick/Nimble" == 4.1.0 |
Submodule Swiftz
updated
38 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "ValidationNEL", | ||
targets: [ | ||
Target(name: "ValidationNEL-iOS"), | ||
Target(name: "ValidationNEL-macOS"), | ||
Target(name: "ValidationNEL-tvOS"), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
echo "Bootstrap frameworks..." | ||
carthage bootstrap | ||
echo "Copy Cartfile.resolved..." | ||
cp Cartfile.resolved Carthage/Build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
if cmp -s Cartfile.resolved Carthage/Build/Cartfile.resolved; then | ||
echo "Frameworks are the same as last build. No need to rebuild." | ||
else | ||
echo "Frameworks are missing or have been updated. Proceed to rebuild" | ||
bin/bootstrap | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/usr/bin/env sh | ||
#!/bin/sh | ||
|
||
if ! command -v carthage > /dev/null; then | ||
printf 'Carthage is not installed.\n' | ||
printf 'See https://github.com/Carthage/Carthage for install instructions.\n' | ||
exit 1 | ||
fi | ||
|
||
carthage update | ||
echo "Update frameworks..." | ||
carthage update --use-submodules --no-use-binaries |