From f48d5e12cde1011fe3785dc1431ed67b584502c7 Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Mon, 14 Aug 2017 20:29:51 +0200 Subject: [PATCH 1/7] update osx image to xcode 8.3 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 86e2f71..35cc7c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ # * http://www.objc.io/issue-6/travis-ci.html # * https://github.com/supermarin/xcpretty#usage -osx_image: xcode7.3 +osx_image: xcode8.3 language: objective-c # cache: cocoapods # podfile: Example/Podfile From f4355de263140044fb8c6b057868bb8e2983c83c Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Mon, 14 Aug 2017 21:00:24 +0200 Subject: [PATCH 2/7] Update travis.yml to install pods --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35cc7c6..74fecf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,9 @@ osx_image: xcode8.3 language: objective-c # cache: cocoapods # podfile: Example/Podfile -# before_install: -# - gem install cocoapods # Since Travis is not always on latest version -# - pod install --project-directory=Example +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/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint From 489fc24b6ddddc4db2a8f524066ba34967ab8d47 Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Mon, 14 Aug 2017 23:55:09 +0200 Subject: [PATCH 3/7] Update repos to fix travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 74fecf8..b67fef0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ language: objective-c # podfile: Example/Podfile before_install: - gem install cocoapods # Since Travis is not always on latest version -- pod install --project-directory=Example +- pod install --repo-update --project-directory=Example script: - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint From 0193ae38ccfb2c46eac0d6a90cc08cb65f2444b6 Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Tue, 15 Aug 2017 09:42:22 +0200 Subject: [PATCH 4/7] Update travis --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b67fef0..ac16b07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,12 @@ # * https://github.com/supermarin/xcpretty#usage osx_image: xcode8.3 -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 --repo-update --project-directory=Example script: -- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty +- set -o pipefail && xcodebuild test -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty - pod lib lint From 58059868647af5be757bf0ba9526433fa1ae0d33 Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Tue, 15 Aug 2017 09:57:56 +0200 Subject: [PATCH 5/7] Update travis (again) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ac16b07..332e98c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,5 @@ before_install: - gem install cocoapods # Since Travis is not always on latest version - pod install --repo-update --project-directory=Example script: -- set -o pipefail && xcodebuild test -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty +- set -o pipefail && xcodebuild test -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6S,OS=10.0' | xcpretty - pod lib lint From 539f19a85a8bbb83120794d3eacf8f3c5613c217 Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Wed, 4 Oct 2017 21:38:33 +0200 Subject: [PATCH 6/7] Update travis.yml --- .travis.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 332e98c..4ab619b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,4 @@ -# references: -# * http://www.objc.io/issue-6/travis-ci.html -# * https://github.com/supermarin/xcpretty#usage - -osx_image: xcode8.3 -language: swift -# cache: cocoapods -# podfile: Example/Podfile -before_install: -- gem install cocoapods # Since Travis is not always on latest version -- pod install --repo-update --project-directory=Example +language: objective-c +osx_image: xcode9 script: -- set -o pipefail && xcodebuild test -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6S,OS=10.0' | xcpretty -- pod lib lint + - xcodebuild clean test -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -destination "platform=iOS Simulator,name=iPhone 7,OS=10.3" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet From 15996815814e12c806d9a9e76fefae2ef0abced2 Mon Sep 17 00:00:00 2001 From: Alberto Moral Date: Wed, 4 Oct 2017 22:07:42 +0200 Subject: [PATCH 7/7] Fix travis --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4ab619b..10e61e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,7 @@ language: objective-c osx_image: xcode9 +before_install: +- gem install cocoapods +- pod install --repo-update --project-directory=Example script: - xcodebuild clean test -workspace Example/SlackWebAPIKit.xcworkspace -scheme SlackWebAPIKit-Example -destination "platform=iOS Simulator,name=iPhone 7,OS=10.3" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet