From 9d4b8eff7602137133fd84eb8e65b31d19919409 Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Thu, 27 Dec 2018 12:13:30 +0100 Subject: [PATCH 1/6] Add Travis configuration --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..67bf7a6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +osx_image: xcode10 +language: objective-c + +before_install: + - pod install + +script: + - set -o pipefail && xcodebuild -workspace Gray.xcworkspace -scheme "Gray" -sdk macosx clean build | xcpretty + +after_success: + - bash <(curl -s https://codecov.io/bash) + +notifications: + email: false From 209eed1194e9c457469291c1cb8e38c49337d825 Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Thu, 27 Dec 2018 12:16:03 +0100 Subject: [PATCH 2/6] Run pod repo update --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 67bf7a6..9bc7d97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ osx_image: xcode10 language: objective-c before_install: + - pod repo update - pod install script: From 19b5cf038b4c020f1371d40397439473791e3d7e Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Thu, 27 Dec 2018 12:19:47 +0100 Subject: [PATCH 3/6] Use cocoapods --pre --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 9bc7d97..91bb50e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ osx_image: xcode10 language: objective-c before_install: + - gem install cocoapods --pre - pod repo update - pod install From 606079bdce6e7c4e4089ad7b27eb794f7cafa938 Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Thu, 27 Dec 2018 12:20:47 +0100 Subject: [PATCH 4/6] Add Gemfile --- Gemfile | 3 +++ Gemfile.lock | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 Gemfile create mode 100644 Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..0f5107e --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'cocoapods', '~> 1.6.0.beta.2' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..fbcf68d --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,76 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.0) + activesupport (4.2.11) + i18n (~> 0.7) + minitest (~> 5.1) + thread_safe (~> 0.3, >= 0.3.4) + tzinfo (~> 1.1) + atomos (0.1.3) + claide (1.0.2) + cocoapods (1.6.0.beta.2) + activesupport (>= 4.0.2, < 5) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.6.0.beta.2) + cocoapods-deintegrate (>= 1.0.2, < 2.0) + cocoapods-downloader (>= 1.2.2, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-stats (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.3.1, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (~> 2.0.1) + gh_inspector (~> 1.0) + molinillo (~> 0.6.6) + nap (~> 1.0) + ruby-macho (~> 1.3, >= 1.3.1) + xcodeproj (>= 1.7.0, < 2.0) + cocoapods-core (1.6.0.beta.2) + activesupport (>= 4.0.2, < 6) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + cocoapods-deintegrate (1.0.2) + cocoapods-downloader (1.2.2) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.0) + cocoapods-stats (1.0.0) + cocoapods-trunk (1.3.1) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.1.0) + colored2 (3.1.2) + concurrent-ruby (1.1.4) + escape (0.0.4) + fourflusher (2.0.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + minitest (5.11.3) + molinillo (0.6.6) + nanaimo (0.2.6) + nap (1.1.0) + netrc (0.11.0) + ruby-macho (1.3.1) + thread_safe (0.3.6) + tzinfo (1.2.5) + thread_safe (~> 0.1) + xcodeproj (1.7.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.2.6) + +PLATFORMS + ruby + +DEPENDENCIES + cocoapods (~> 1.6.0.beta.2) + +BUNDLED WITH + 1.13.6 From 06b53a9f964e9e7bb6f59967fff472d53528acfb Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Thu, 27 Dec 2018 12:33:59 +0100 Subject: [PATCH 5/6] Run bundle install and build without signing --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 91bb50e..d6b1f47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,12 @@ osx_image: xcode10 language: objective-c before_install: - - gem install cocoapods --pre + - bundle install - pod repo update - pod install script: - - set -o pipefail && xcodebuild -workspace Gray.xcworkspace -scheme "Gray" -sdk macosx clean build | xcpretty + - set -o pipefail && xcodebuild -workspace Gray.xcworkspace -scheme "Gray" -sdk macosx clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty after_success: - bash <(curl -s https://codecov.io/bash) From 0b17f1437ac336d798f1fd03a939a3145f71af4b Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Thu, 27 Dec 2018 12:34:44 +0100 Subject: [PATCH 6/6] Set CODE_SIGNING_ALLOWED="NO" --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d6b1f47..94e9456 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ before_install: - pod install script: - - set -o pipefail && xcodebuild -workspace Gray.xcworkspace -scheme "Gray" -sdk macosx clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty + - set -o pipefail && xcodebuild -workspace Gray.xcworkspace -scheme "Gray" -sdk macosx clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED="NO" | xcpretty after_success: - bash <(curl -s https://codecov.io/bash)