diff --git a/.travis.yml b/.travis.yml index 669b28b20..17821c717 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,19 +8,19 @@ jobs: - stage: Validate Pods script: "./Scripts/pod-lint.sh" os: osx - osx_image: xcode11 + osx_image: xcode11.6 - stage: release new version script: "./Scripts/travis/new-release.sh" os: osx - osx_image: xcode11 + osx_image: xcode11.6 if: branch = master AND type = push AND fork = false - stage: deploy to cocoapods script: "./Scripts/travis/deploy-to-cocoapods.sh" os: osx - osx_image: xcode11 + osx_image: xcode11.6 if: branch = master AND type = push AND fork = false - stage: publish documentation script: "./Scripts/travis/publish-documentation.sh" os: osx - osx_image: xcode11 + osx_image: xcode11.6 if: branch = master AND type = push AND fork = false \ No newline at end of file diff --git a/Scripts/pod-lint.sh b/Scripts/pod-lint.sh index 4fc3efbda..ffa7447d6 100755 --- a/Scripts/pod-lint.sh +++ b/Scripts/pod-lint.sh @@ -5,14 +5,14 @@ # The flag --allow-warnings is required for pods that have build warnings (like deprecation notices). set -e -pod lib lint IBMWatsonAssistantV1.podspec -pod lib lint IBMWatsonAssistantV2.podspec -pod lib lint IBMWatsonCompareComplyV1.podspec +pod lib lint IBMWatsonAssistantV1.podspec --allow-warnings +pod lib lint IBMWatsonAssistantV2.podspec --allow-warnings +pod lib lint IBMWatsonCompareComplyV1.podspec --allow-warnings pod lib lint IBMWatsonDiscoveryV1.podspec --allow-warnings pod lib lint IBMWatsonDiscoveryV2.podspec --allow-warnings -pod lib lint IBMWatsonLanguageTranslatorV3.podspec -pod lib lint IBMWatsonNaturalLanguageClassifierV1.podspec -pod lib lint IBMWatsonNaturalLanguageUnderstandingV1.podspec +pod lib lint IBMWatsonLanguageTranslatorV3.podspec --allow-warnings +pod lib lint IBMWatsonNaturalLanguageClassifierV1.podspec --allow-warnings +pod lib lint IBMWatsonNaturalLanguageUnderstandingV1.podspec --allow-warnings pod lib lint IBMWatsonPersonalityInsightsV3.podspec --allow-warnings pod lib lint IBMWatsonSpeechToTextV1.podspec --allow-warnings @@ -27,6 +27,6 @@ git checkout Sources/SupportingFiles/Dependencies rm Sources/SupportingFiles/Dependencies/Libraries/*tts.a find Sources/SupportingFiles/Dependencies/Source -maxdepth 1 -type f -delete -pod lib lint IBMWatsonToneAnalyzerV3.podspec +pod lib lint IBMWatsonToneAnalyzerV3.podspec --allow-warnings pod lib lint IBMWatsonVisualRecognitionV3.podspec --allow-warnings pod lib lint IBMWatsonVisualRecognitionV4.podspec --allow-warnings