diff --git a/.gitmodules b/.gitmodules index 33d276ac..af2dbee6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "build-scripts"] path = build-scripts - url = git@github.com:TouchInstinct/BuildScripts.git + url = https://github.com/TouchInstinct/BuildScripts.git diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..f811a36d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ + +language: swift +osx_image: xcode10 + +env: + global: + - LC_CTYPE=en_US.UTF-8 + - LANG=en_US.UTF-8 + +jdk: + - oraclejdk9 + +before_install: + - env + - locale + - gem install xcpretty --no-rdoc --no-ri --no-document --quiet + - xcpretty --version + - xcodebuild -version + - xcodebuild -showsdks + - pod install --repo-update + - brew install pmd + +script: + - set -o pipefail + - xcodebuild -enableCodeCoverage YES CODE_SIGNING_ALLOWED=YES -workspace LeadKit.xcworkspace -scheme 'LeadKit iOS' -destination 'platform=iOS Simulator,OS=12.0,name=iPhone 7' build test | xcpretty -c + - xcodebuild -enableCodeCoverage YES CODE_SIGNING_ALLOWED=YES -workspace LeadKit.xcworkspace -scheme 'LeadKit iOS Extensions' -destination 'platform=iOS Simulator,OS=12.0,name=iPhone 7' build test | xcpretty -c + - xcodebuild -enableCodeCoverage YES CODE_SIGNING_ALLOWED=YES -workspace LeadKit.xcworkspace -scheme 'LeadKit tvOS' -destination 'platform=tvOS Simulator,name=Apple TV 4K' -sdk appletvsimulator build test | xcpretty -c + +after_success: + - sleep 5 + - bash < (curl -s https://codecov.io/bash) diff --git a/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit iOS Extensions.xcscheme b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit iOS Extensions.xcscheme new file mode 100644 index 00000000..c4a9d46e --- /dev/null +++ b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit iOS Extensions.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit iOS.xcscheme b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit iOS.xcscheme new file mode 100644 index 00000000..879a6705 --- /dev/null +++ b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit iOS.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit tvOS.xcscheme b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit tvOS.xcscheme new file mode 100644 index 00000000..288b62ce --- /dev/null +++ b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit tvOS.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit watchOS.xcscheme b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit watchOS.xcscheme new file mode 100644 index 00000000..f6f90519 --- /dev/null +++ b/LeadKit.xcodeproj/xcshareddata/xcschemes/LeadKit watchOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +