-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85dff84
commit 996d40b
Showing
846 changed files
with
135,799 additions
and
97,735 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,34 @@ | ||
podfile: Tests/Podfile | ||
language: objective-c | ||
osx_image: xcode10.2 | ||
osx_image: xcode11.3 | ||
os: osx | ||
sudo: true | ||
cache: | ||
- bundler | ||
- cocoapods | ||
rvm: | ||
- 2.5.3 | ||
env: | ||
global: | ||
- LC_CTYPE=en_US.UTF-8 | ||
- LANG=en_US.UTF-8 | ||
|
||
matrix: | ||
include: | ||
- env: NAME='[ObjC] iOS' SCHEME='iOS Tests (ObjC)' DESTINATION='platform=iOS Simulator,name=iPhone 7 Plus,OS=12.1' | ||
- env: NAME='[ObjC] macOS' SCHEME='OSX Tests (ObjC)' DESTINATION='platform=macOS' | ||
cache: | ||
cocoapods: true | ||
|
||
before_install: | ||
- sudo gem install xcpretty-travis-formatter | ||
- sudo gem install cocoapods | ||
- brew ls --versions node && brew upgrade node || brew install node | ||
- npm config set strict-ssl false | ||
env: | ||
global: | ||
- LC_CTYPE=en_US.UTF-8 | ||
- LANG=en_US.UTF-8 | ||
|
||
before_script: | ||
- pushd Tests/Resources/ && npm init --yes && npm install glob && node .create-keysset.js && popd | ||
- pushd Tests/ && pod install && popd | ||
- sudo gem install xcpretty | ||
- ./.travis/repo-scripts/create-configuration.sh | ||
|
||
script: | ||
- set -o pipefail | ||
- xcodebuild -workspace "Tests/PubNub Tests.xcworkspace" -scheme "${SCHEME}" -destination "${DESTINATION}" clean build test | xcpretty -f `xcpretty-travis-formatter` | ||
stages: | ||
- name: test | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
jobs: | ||
include: | ||
- stage: "test" | ||
name: "[iOS] Mocked Integration test" | ||
script: ./.travis/repo-scripts/tests-runner.sh ios | ||
- name: "[macOS] Mocked Integration test" | ||
script: ./.travis/repo-scripts/tests-runner.sh macos | ||
- name: "[tvOS] Mocked Integration test" | ||
script: ./.travis/repo-scripts/tests-runner.sh tvos | ||
|
||
after_failure: | ||
- cat -n ~/Library/Logs/scan/* | ||
- cat -n $TMPDIR/com.apple.dt.XCTest-status/Session*.log | ||
- cat -n ~/Library/Logs/DiagnosticReports/xctest*.crash | ||
- cat -n ~/Library/Logs/DiagnosticReports/xctest*.crash |
Oops, something went wrong.