Skip to content

Commit

Permalink
Merge pull request #3 from nerdishbynature/all-platforms
Browse files Browse the repository at this point in the history
Add targets for all platforms
  • Loading branch information
pietbrauer committed Feb 25, 2016
2 parents a574821 + ba64dae commit 806e41f
Show file tree
Hide file tree
Showing 26 changed files with 1,298 additions and 96 deletions.
30 changes: 24 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
osx_image: xcode7.1
language: objective-c
osx_image: xcode7.1
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- FASTLANE_LANE=ci_commit
matrix:
include:
- osx_image: xcode7.2
env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
- osx_image: xcode7.2
env: FASTLANE_ENV=ios92
- osx_image: xcode7.2
env: FASTLANE_ENV=tvos91
- osx_image: xcode7.2
env: FASTLANE_ENV=osx
before_install:
- make install
- make install
script:
- make test
- set -o pipefail
- bundle exec fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
- bundle exec fastlane $FASTLANE_LANE configuration:Release --env $FASTLANE_ENV
after_success:
- make post_coverage
notifications:
email: false
- if [ "$FASTLANE_LANE" == "code_coverage" ]; then
make post_coverage;
fi
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "nerdishbynature/RequestKit" == 0.2.1
github "nerdishbynature/RequestKit" ~> 0.2.2
2 changes: 1 addition & 1 deletion Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "nerdishbynature/Nocilla"
github "nerdishbynature/Nocilla" "all-platforms"

4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "nerdishbynature/Nocilla" "0.10.0"
github "nerdishbynature/RequestKit" "0.2.1"
github "nerdishbynature/Nocilla" "57161f3454bebebf111e3e3b2a0b9cb300e2d0ac"
github "nerdishbynature/RequestKit" "0.2.2"
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source "https://rubygems.org"

gem "slather", git: "https://github.com/nerdishbynature/slather.git", branch: "feature-profdata"
gem "slather", "~> 2.0"
gem "fastlane"
gem "cocoapods"
281 changes: 263 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,44 +1,289 @@
GIT
remote: https://github.com/nerdishbynature/slather.git
revision: fd90e5e76e2a6422a9c4a4d43d0104529659f3b3
branch: feature-profdata
specs:
slather (1.8.1)
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (~> 0.26.2)

GEM
remote: https://rubygems.org/
specs:
activesupport (4.2.5)
activesupport (4.2.5.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
babosa (1.0.2)
cert (1.3.0)
fastlane_core (>= 0.29.1, < 1.0.0)
spaceship (>= 0.16.0, < 1.0.0)
claide (0.9.1)
clamp (0.6.5)
cocoapods (0.39.0)
activesupport (>= 4.0.2)
claide (~> 0.9.1)
cocoapods-core (= 0.39.0)
cocoapods-downloader (~> 0.9.3)
cocoapods-plugins (~> 0.4.2)
cocoapods-search (~> 0.1.0)
cocoapods-stats (~> 0.6.2)
cocoapods-trunk (~> 0.6.4)
cocoapods-try (~> 0.5.1)
colored (~> 1.2)
escape (~> 0.0.4)
molinillo (~> 0.4.0)
nap (~> 1.0)
xcodeproj (~> 0.28.2)
cocoapods-core (0.39.0)
activesupport (>= 4.0.2)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
cocoapods-downloader (0.9.3)
cocoapods-plugins (0.4.2)
nap
cocoapods-search (0.1.0)
cocoapods-stats (0.6.2)
cocoapods-trunk (0.6.4)
nap (>= 0.8, < 2.0)
netrc (= 0.7.8)
cocoapods-try (0.5.1)
coderay (1.1.1)
colored (1.2)
commander (4.3.5)
highline (~> 1.7.2)
credentials_manager (0.15.0)
colored
commander (>= 4.3.5)
highline (>= 1.7.1)
security
deliver (1.10.3)
credentials_manager (>= 0.12.0, < 1.0.0)
fastimage (~> 1.6)
fastlane_core (>= 0.36.4, < 1.0.0)
plist (~> 3.1.0)
spaceship (>= 0.19.0, <= 1.0.0)
domain_name (0.5.20160128)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.0)
escape (0.0.4)
excon (0.45.4)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.10.0)
faraday (>= 0.7.4, < 0.10)
fastimage (1.6.8)
addressable (~> 2.3, >= 2.3.5)
fastlane (1.61.0)
addressable (~> 2.3.8)
cert (>= 1.3.0, < 2.0.0)
credentials_manager (>= 0.15.0, < 1.0.0)
deliver (>= 1.10.1, < 2.0.0)
fastlane_core (>= 0.36.5, < 1.0.0)
frameit (>= 2.4.1, < 3.0.0)
gym (>= 1.6.1, < 2.0.0)
krausefx-shenzhen (>= 0.14.7)
match (>= 0.3.0, < 1.0.0)
pem (>= 1.2.0, < 2.0.0)
pilot (>= 1.3.0, < 2.0.0)
plist (~> 3.1.0)
produce (>= 1.1.0, < 2.0.0)
scan (>= 0.5.0, < 1.0.0)
screengrab (>= 0.2.0, < 1.0.0)
sigh (>= 1.3.1, < 2.0.0)
slack-notifier (~> 1.3)
snapshot (>= 1.7.0, < 2.0.0)
spaceship (>= 0.19.4, < 1.0.0)
supply (>= 0.4.0, < 1.0.0)
terminal-notifier (~> 1.6.2)
terminal-table (~> 1.4.5)
xcodeproj (>= 0.20, < 1.0.0)
xcpretty (>= 0.2.1)
fastlane_core (0.36.6)
babosa
colored
commander (= 4.3.5)
credentials_manager (>= 0.11.0, < 1.0.0)
excon (~> 0.45.0)
highline (>= 1.7.2)
json
multi_json
plist (~> 3.1)
rubyzip (~> 1.1.6)
sentry-raven (~> 0.15)
terminal-table (~> 1.4.5)
frameit (2.4.1)
deliver (> 0.3)
fastimage (~> 1.6.3)
fastlane_core (>= 0.16.0, < 1.0.0)
mini_magick (~> 4.0.2)
fuzzy_match (2.0.4)
google-api-client (0.9.2)
activesupport (>= 3.2)
addressable (~> 2.3)
googleauth (~> 0.5)
httpclient (~> 2.7)
hurley (~> 0.1)
memoist (~> 0.11)
mime-types (>= 1.6)
multi_json (~> 1.11)
representable (~> 2.3.0)
retriable (~> 2.0)
thor (~> 0.19)
googleauth (0.5.1)
faraday (~> 0.9)
jwt (~> 1.4)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
gym (1.6.1)
fastlane_core (>= 0.36.1, < 1.0.0)
plist
rubyzip (>= 1.1.7)
terminal-table
xcpretty (>= 0.2.1)
highline (1.7.8)
http-cookie (1.0.2)
domain_name (~> 0.5)
httpclient (2.7.1)
hurley (0.2)
i18n (0.7.0)
json (1.8.3)
mini_portile (0.6.2)
minitest (5.8.3)
nokogiri (1.6.6.4)
mini_portile (~> 0.6.0)
jwt (1.5.2)
krausefx-shenzhen (0.14.7)
commander (~> 4.3)
dotenv (>= 0.7)
faraday (~> 0.9)
faraday_middleware (~> 0.9)
highline (>= 1.7.2)
json (~> 1.8)
net-sftp (~> 2.1.2)
plist (~> 3.1.0)
rubyzip (~> 1.1)
security (~> 0.1.3)
terminal-table (~> 1.4.5)
little-plugger (1.1.4)
logging (2.0.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
match (0.3.0)
cert (>= 1.2.8, < 2.0.0)
credentials_manager (>= 0.13.0, < 1.0.0)
fastlane_core (>= 0.36.1, < 1.0.0)
security
sigh (>= 1.2.2, < 2.0.0)
spaceship (>= 0.18.1, < 1.0.0)
memoist (0.14.0)
method_source (0.8.2)
mime-types (3.0)
mime-types-data (~> 3.2015)
mime-types-data (3.2015.1120)
mini_magick (4.0.4)
mini_portile2 (2.0.0)
minitest (5.8.4)
molinillo (0.4.3)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
nap (1.1.0)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.0.2)
netrc (0.7.8)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
os (0.9.6)
pem (1.2.0)
fastlane_core (>= 0.36.1, < 1.0.0)
spaceship (>= 0.19.3, < 1.0.0)
pilot (1.4.1)
credentials_manager (>= 0.3.0)
fastlane_core (>= 0.36.5, < 1.0.0)
spaceship (>= 0.20.0, < 1.0.0)
terminal-table (~> 1.4.5)
plist (3.1.0)
produce (1.1.1)
fastlane_core (>= 0.30.0, < 1.0.0)
spaceship (>= 0.16.0)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
representable (2.3.0)
uber (~> 0.0.7)
retriable (2.1.0)
rouge (1.10.1)
rubyzip (1.1.7)
scan (0.5.0)
fastlane_core (>= 0.36.1, < 1.0.0)
slack-notifier (~> 1.3)
terminal-table
xcpretty (>= 0.2.1)
xcpretty-travis-formatter (>= 0.0.3)
screengrab (0.2.0)
fastlane_core (>= 0.36.1, < 1.0.0)
security (0.1.3)
sentry-raven (0.15.5)
faraday (>= 0.7.6)
sigh (1.3.1)
fastlane_core (>= 0.36.1, < 1.0.0)
plist (~> 3.1)
spaceship (>= 0.12.3)
signet (0.7.2)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (~> 1.5)
multi_json (~> 1.10)
slack-notifier (1.5.1)
slather (2.0.0)
clamp (~> 0.6)
nokogiri (~> 1.6.3)
xcodeproj (>= 0.28.2, < 1.1.0)
slop (3.6.0)
snapshot (1.8.0)
fastimage (~> 1.6.3)
fastlane_core (>= 0.36.1, < 1.0.0)
plist (~> 3.1.0)
xcpretty (>= 0.2.1)
spaceship (0.21.0)
colored
credentials_manager (>= 0.9.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (~> 1.6)
multi_xml (~> 0.5)
plist (~> 3.1)
pry
supply (0.4.0)
credentials_manager (>= 0.15.0)
fastlane_core (>= 0.35.0)
google-api-client (~> 0.9.1)
terminal-notifier (1.6.3)
terminal-table (1.4.5)
thor (0.19.1)
thread_safe (0.3.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
xcodeproj (0.26.3)
uber (0.0.15)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
xcodeproj (0.28.2)
activesupport (>= 3)
claide (~> 0.9.1)
colored (~> 1.2)
xcpretty (0.2.2)
rouge (~> 1.8)
xcpretty-travis-formatter (0.0.4)
xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
ruby

DEPENDENCIES
slather!
cocoapods
fastlane
slather (~> 2.0)

BUNDLED WITH
1.10.6
1.11.2
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
SHA=$(shell git rev-parse HEAD)
BRANCH=$(shell git name-rev --name-only HEAD)

install:
brew update || brew update
brew install carthage
brew install python
pip install codecov
carthage bootstrap

test:
set -o pipefail && xcodebuild clean test -scheme TanukiKit -sdk iphonesimulator -destination name="iPhone 6" ONLY_ACTIVE_ARCH=YES -enableCodeCoverage YES | xcpretty -c
bundle exec fastlane code_coverage configuration:Debug --env default

post_coverage:
bundle exec slather coverage --input-format profdata -x --ignore "../**/*/Xcode*" --ignore "Carthage/**" --output-directory slather-report --scheme TanukiKit TanukiKit.xcodeproj
codecov -f slather-report/cobertura.xml
curl -X POST -d @slather-report/cobertura.xml "https://codecov.io/upload/v2?token="$(CODECOV_TOKEN)"&commit="$(SHA)"&branch="$(BRANCH)"&job="$(TRAVIS_BUILD_NUMBER)

Loading

0 comments on commit 806e41f

Please sign in to comment.