Skip to content

Commit

Permalink
Merge pull request #1 from KarimEbrahemAbdelaziz/master
Browse files Browse the repository at this point in the history
sync forked repo
  • Loading branch information
amrangry committed May 31, 2019
2 parents 00ae12d + 6f4b73e commit fc92faf
Show file tree
Hide file tree
Showing 67 changed files with 4,466 additions and 243 deletions.
42 changes: 38 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,47 @@
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage

os: osx
osx_image: xcode10.2
language: objective-c
language: swift
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/SwiftyMenu.xcworkspace -scheme SwiftyMenu-Example -sdk iphonesimulator12.2 ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

branches:
only:
- master
- feature/support-swift-4
- /^\d+\.\d+\.\d+$/

stages:
- name: compile
if: branch = master OR branch = feature/support-swift-4 OR branch =~ ^\d+\.\d+\.\d+$
- name: lint
if: branch = master OR branch = feature/support-swift-4 OR branch =~ ^\d+\.\d+\.\d+$
- name: deploy
if: branch =~ ^\d+\.\d+\.\d+$

jobs:
include:
- stage: compile
name: "Compile the project"
before_install: set -o pipefail
script: xcodebuild test -enableCodeCoverage YES -workspace Example/SwiftyMenu.xcworkspace -scheme SwiftyMenu-Example -sdk iphonesimulator12.2 ONLY_ACTIVE_ARCH=NO | xcpretty

- stage: lint
name: "Linting the pod"
osx_image: xcode10.2
env: SWIFT=5.0
cache: cocoapods
install: gem install cocoapods --pre -v 1.7.0.beta.3
script: pod lib lint

- name: '`pod trunk push`'
stage: deploy
install: gem install cocoapods --pre -v 1.7.0.beta.3
script: |
set -exo pipefail
pod trunk push --verbose --allow-warnings | ruby -e 'ARGF.each{ print "." }'
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.8] - 2019-05-06
**Added**
- Automate release new version to Cocoapods from Travis CI.
- Add CHANGELOG file for the project.

## [0.4.7] - 2019-05-06
**Added**
- Automate release new version to Cocoapods from Travis CI.
- Add CHANGELOG file for the project.
11 changes: 9 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
PODS:
- SwiftyMenu (0.1.0)
- SnapKit (4.2.0)
- SwiftyMenu (0.1.3):
- SnapKit (~> 4.2.0)

DEPENDENCIES:
- SwiftyMenu (from `../`)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- SnapKit

EXTERNAL SOURCES:
SwiftyMenu:
:path: "../"

SPEC CHECKSUMS:
SwiftyMenu: 4cd993631b2905e642929bac7e8149609efaf565
SnapKit: fe8a619752f3f27075cc9a90244d75c6c3f27e2a
SwiftyMenu: 2224adfb5f5dd899661511bb5c21b2d8e1a47038

PODFILE CHECKSUM: e76fbe8ebeca450e6d7f72e5036d5d85d327d6d2

Expand Down
12 changes: 9 additions & 3 deletions Example/Pods/Local Podspecs/SwiftyMenu.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

560 changes: 455 additions & 105 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions Example/Pods/SnapKit/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

129 changes: 129 additions & 0 deletions Example/Pods/SnapKit/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fc92faf

Please sign in to comment.