-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
951 additions
and
30 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
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,16 +1,43 @@ | ||
language: objective-c | ||
osx_image: xcode7.2 | ||
before_install: | ||
- rvm use $RVM_RUBY_VERSION | ||
# - brew update | ||
- rvm use $RVM_RUBY_VERSION | ||
- brew update | ||
install: | ||
# - brew outdated xctool || brew upgrade xctool | ||
- bundle install --without=documentation --jobs=3 --retry=3 | ||
- brew outdated xctool || brew upgrade xctool | ||
- bundle install --without=documentation --jobs=3 --retry=3 | ||
before_script: | ||
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in scripts/certs/dist.cer.enc -d -a -out scripts/certs/dist.cer | ||
- openssl aes-256-cbc -k "$ENCRYPTION_SECRET" -in scripts/certs/dist.p12.enc -d -a -out scripts/certs/dist.p12 | ||
- security create-keychain -p travis ios-build.keychain | ||
- security default-keychain -s ios-build.keychain | ||
- security unlock-keychain -p travis ios-build.keychain | ||
- security set-keychain-settings -t 3600 -l ~/Library/Keychains/ios-build.keychain | ||
- security import ./scripts/certs/apple.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign | ||
- security import ./scripts/certs/dist.cer -k ~/Library/Keychains/ios-build.keychain -T /usr/bin/codesign | ||
- security import ./scripts/certs/dist.p12 -k ~/Library/Keychains/ios-build.keychain -P $KEY_PASSWORD -T /usr/bin/codesign | ||
script: | ||
- xctool -project Glide.xcodeproj -scheme Glide build test -sdk macosx10.11 GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES | ||
- open -b com.apple.iphonesimulator # Workaround https://github.com/travis-ci/travis-ci/issues/3040 | ||
- xctool -project Glide.xcodeproj -scheme $SCHEME build test -destination='$DESTINATION' GCC_GENERATE_TEST_COVERAGE_FILES=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES OBJROOT=$PWD/build SYMROOT=$PWD/build | ||
after_success: | ||
- slather setup Glide.xcodeproj | ||
- slather coverage --coveralls --input-format profdata --source-directory Glide/ --scheme Glide Glide.xcodeproj | ||
- '[ "$CONFIGURATION" == "Debug" ] && slather coverage --coveralls --input-format profdata --scheme Glide Glide.xcodeproj' | ||
after_script: | ||
- security delete-keychain ios-build.keychain | ||
- rm -rf scripts/certs/dist.p12 | ||
- rm -rf scripts/certs/dist.cer | ||
cache: | ||
directories: | ||
- vendor/bundle | ||
directories: | ||
- vendor/bundle | ||
env: | ||
matrix: | ||
- 'DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=9.0" CONFIGURATION="Release" SCHEME="GlideIOS"' | ||
- 'DESTINATION="platform=iOS Simulator,name=iPhone 5s,OS=9.2" CONFIGURATION="Release" SCHEME="GlideIOS"' | ||
- 'DESTINATION="platform=iOS Simulator,name=iPhone 6s,OS=9.2" CONFIGURATION="Release" SCHEME="GlideIOS"' | ||
- 'DESTINATION="platform=iOS Simulator,name=iPhone 4s" CONFIGURATION="Release" SCHEME="GlideIOS"' | ||
- 'DESTINATION="platform=iOS Simulator,name=iPhone 5s" CONFIGURATION="Release" SCHEME="GlideIOS"' | ||
- 'DESTINATION="platform=OS X" CONFIGURATION="Release" SCHEME="Glide"' | ||
- 'DESTINATION="platform=OS X" CONFIGURATION="Debug" SCHEME="Glide"' | ||
- 'DESTINATION="platform=tvOS Simulator,name=Apple TV 1080p" CONFIGURATION="Release" SCHEME="GlideTvOS"' | ||
global: | ||
- secure: aIjFYHUnBYysw7HAwqjIRT0Mu4vkYEqe4fbHiWDOCQih7UYjE+yq4WcMgWY6huComU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ZM4zdojwGZW5vVHz9JW8vuU089BJHxTjp8yzEsG2oyDixmbno55+uBkdVlDhb8sB6Ig/G4DzMvt8ZAbqyKIr37lOVZz6Ppd1hcjTt63s1UcHzLANK/2HBRFGh6UtHT5DlE5s1iJoMX3WzFXwtqAsbnh8vYLANrbFSS9J4Sdf+m66by3wX8jU86PPL3ga6bFAbjb/oZtSj4vll/KMg4wLLWTV0MsToQgaVa0Ko= |
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,22 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'Glide' | ||
s.version = '@VERSION@' | ||
s.summary = 'Glide client for iOS & Mac OS X' | ||
s.author = { | ||
'Axel Etcheverry' => 'axel@etcheverry.biz' | ||
} | ||
s.source = { | ||
:git => 'https://github.com/euskadi31/glide-objc.git', | ||
:tag => "v#{s.version}" | ||
} | ||
s.source_files = 'Glide/**/*.{h}' | ||
s.homepage = 'https://github.com/euskadi31/glide-objc' | ||
s.license = { | ||
:type => 'MIT', | ||
:file => 'LICENSE.md' | ||
} | ||
s.social_media_url = 'http://twitter.com/euskadi31' | ||
s.ios.deployment_target = '9.0' | ||
s.osx.deployment_target = '10.11' | ||
s.tvos.deployment_target = '9.0' | ||
end |
Oops, something went wrong.