Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
fd70f97
Adding #dsohandle to static data collected from caller.
tonystone May 25, 2018
68f2fc5
Adding OSLogWriter.
tonystone May 25, 2018
ff9849c
Remove OS_ACTIVITY_MODE disable from example schemes so os_log output…
tonystone May 25, 2018
83b630f
Update podspec version and run pod update.
tonystone May 25, 2018
7005efc
Add Package.resolved to gitignore.
tonystone Jun 10, 2018
c56ba80
Disable several swiftlint tests that are to restrictive.
tonystone Jun 10, 2018
8f0e43d
Remove #dsohandle since it can't be passed to os_log.
tonystone Jun 10, 2018
4565934
Rename OSLogWriter to UnifiedLoggingWriter.
tonystone Jun 10, 2018
c00b1c3
merge
tonystone Jun 10, 2018
b8ee198
Update test to set it's own evironment.
tonystone Jun 10, 2018
b9049b5
Add Podfile.lock and Manifest.lock file to gitignore.
tonystone Jun 10, 2018
e70770a
Change test and example plaform for OSX to 10.12.
tonystone Jun 10, 2018
fbaf0ae
Don't use launch scheme args for tests.
tonystone Jun 10, 2018
58301e6
Add set -e to fail in multi command.
tonystone Jun 10, 2018
a6c4700
Correcting syntax.
tonystone Jun 10, 2018
b8a63a5
Travis didn't like the last syntax when adding set -e, correcting that.
tonystone Jun 10, 2018
3eada95
Adding import Foundation for Process class.
tonystone Jun 10, 2018
7766d76
Removing performance tests that write to standar dout.
tonystone Jun 10, 2018
b01eba6
Limit test to OSX due to the requirement for the Process class.
tonystone Jun 10, 2018
6223855
Update UnifiedLoggingWriter
tonystone Jun 10, 2018
0833dfe
Remove performance tests that no longer exist from LinuxMain.
tonystone Jun 10, 2018
7b8db6b
Add message for Unified Logging not configured for test.
tonystone Jun 10, 2018
d832f52
Add configuration for Unified Logging on OSX.
tonystone Jun 10, 2018
944cab2
Adding sudo to log config command on OSX.
tonystone Jun 11, 2018
afcc081
Adding back Podfile.lock and Manifest.lock.
tonystone Jun 11, 2018
5469246
Ran pod update.
tonystone Jun 11, 2018
f1d7c77
Removing Swiftlint.
tonystone Jun 11, 2018
68d0f8f
Removing trailing semi colon.
tonystone Jun 11, 2018
f01690b
Removing xcpretty to simplify build.
tonystone Jun 11, 2018
68f1244
Remove stdout performance tests on ObjC.
tonystone Jun 11, 2018
9d6db63
Remove playground and xctest_tool.rb
tonystone Jun 11, 2018
cc79550
Remove swiftlint from project file.
tonystone Jun 11, 2018
648fb6d
Removing older tests for 9.3.
tonystone Jun 11, 2018
db3bad9
Adding time between each retry.
tonystone Jun 11, 2018
5282583
Adjusting the log show --last time to be 1 second before the message …
tonystone Jun 11, 2018
ab66442
Adding log config for TraceLog-OSX.
tonystone Jun 11, 2018
15cbdc5
Removing 10.2 sim tests and adding log config for iOS.
tonystone Jun 11, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ DerivedData
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
#Pods/
#Podfile.lock
#Manifest.lock

#####
# OS X temporary files that should never be committed
Expand All @@ -43,6 +45,7 @@ DerivedData
# Swift Compile output on Linux
#
.build
Package.resolved

#
# Vagrant
Expand Down
226 changes: 0 additions & 226 deletions .swiftlint.yml

This file was deleted.

85 changes: 27 additions & 58 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ env:

matrix:
include:
-
-
os: linux
dist: trusty
sudo: required
env:
env:
- BUILD="swift build"
-
-
os: osx
osx_image: xcode9.3
env:
env:
- BUILD="swift build"
-
os: osx
osx_image: xcode9.3
env:
env:
- BUILD="pod lint"
-
os: osx
Expand All @@ -33,54 +33,15 @@ matrix:
- TEST_DEST="platform=iOS Simulator,OS=11.3,name=iPhone 8"
- TEST_SDK=iphonesimulator
- SCHEME=TraceLog-iOS-Example
-
os: osx
osx_image: xcode9.3
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=iOS Simulator,OS=10.0,name=iPhone 6s"
- TEST_SDK=iphonesimulator
- SCHEME=TraceLog-iOS-Example
-
os: osx
osx_image: xcode9.3
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=iOS Simulator,OS=10.0,name=iPhone 6"
- TEST_SDK=iphonesimulator
- SCHEME=TraceLog-iOS-Example
-
os: osx
osx_image: xcode9.3
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=iOS Simulator,OS=9.3,name=iPhone 6"
- TEST_SDK=iphonesimulator
- SCHEME=TraceLog-iOS-Example
-
os: osx
osx_image: xcode9.3
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=iOS Simulator,OS=9.2,name=iPhone 5s"
- TEST_SDK=iphonesimulator
- SCHEME=TraceLog-iOS-Example
-
os: osx
osx_image: xcode9.3
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=iOS Simulator,OS=9.0,name=iPhone 4s"
- TEST_SDK=iphonesimulator
- SCHEME=TraceLog-iOS-Example
-

-
os: osx
osx_image: xcode9.3
env:
env:
- BUILD="xcodebuild"
- TEST_DEST="platform=OS X,arch=x86_64"
- TEST_DEST="platform=OS X,arch=x86_64"
- TEST_SDK=macosx
- SCHEME=TraceLog-OSX-Example
- SCHEME=TraceLog-OSX-Example

before_install:
#
Expand All @@ -93,6 +54,17 @@ before_install:
bundler install
fi
#
# OSX
#
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
# Fix travis issue: https://github.com/travis-ci/travis-ci/issues/6307
rvm get head --auto-dotfiles || true
sudo log config --subsystem "xctest" --mode "persist:debug"
sudo log config --subsystem "TraceLog-OSX" --mode "persist:debug"
sudo log config --subsystem "TraceLog-iOS" --mode "persist:debug"
fi
#
# Linux requires downloading Swift and tools
#
- |
Expand All @@ -108,26 +80,23 @@ before_install:
fi

script:
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
# Fix travis issue: https://github.com/travis-ci/travis-ci/issues/6307
rvm get head --auto-dotfiles || true
fi
- |
if [[ "$BUILD" == "swift build" ]]; then
swift test
fi
- |
if [[ "$BUILD" == "pod lint" ]]; then
set -e # Fail (and stop build) on first non zero exit code
bundler exec pod repo update
bundler exec pod lib lint
set +e
fi
- |
if [[ "$BUILD" == "xcodebuild" ]]; then
set -o pipefail
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$TEST_DEST" -sdk "$TEST_SDK" -enableCodeCoverage YES build-for-testing | bundler exec xcpretty
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$TEST_DEST" -sdk "$TEST_SDK" -enableCodeCoverage YES test | bundler exec xcpretty
set +o pipefail
set -e # Fail (and stop build) on first non zero exit code
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$TEST_DEST" -sdk "$TEST_SDK" -enableCodeCoverage YES build-for-testing
xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination "$TEST_DEST" -sdk "$TEST_SDK" -enableCodeCoverage YES test
set +e
fi

after_success:
Expand Down
Loading