Remove travis
This commit is contained in:
		
							parent
							
								
									2b1cd74f6a
								
							
						
					
					
						commit
						173def3cea
					
				
							
								
								
									
										19
									
								
								.github/workflows/swift.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/swift.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					name: Swift
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches: [ "master", "development" ]
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    branches: [ "master", "development" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    runs-on: macos-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - name: Build
 | 
				
			||||||
 | 
					        run: swift build -v
 | 
				
			||||||
 | 
					      - name: Run tests
 | 
				
			||||||
 | 
					        run: swift test -v
 | 
				
			||||||
							
								
								
									
										18
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								.travis.yml
									
									
									
									
									
								
							@ -1,18 +0,0 @@
 | 
				
			|||||||
language: objective-c
 | 
					 | 
				
			||||||
xcode_project: Socket.IO-Client-Swift.xcodeproj # path to your xcodeproj folder
 | 
					 | 
				
			||||||
xcode_scheme: SocketIO-Mac
 | 
					 | 
				
			||||||
osx_image: xcode12.2
 | 
					 | 
				
			||||||
branches:
 | 
					 | 
				
			||||||
  only:
 | 
					 | 
				
			||||||
    - master
 | 
					 | 
				
			||||||
    - development
 | 
					 | 
				
			||||||
before_install:
 | 
					 | 
				
			||||||
  # - brew update
 | 
					 | 
				
			||||||
  # - brew outdated xctool || brew upgrade xctool
 | 
					 | 
				
			||||||
  # - brew outdated carthage || brew upgrade carthage
 | 
					 | 
				
			||||||
  - carthage update --platform macosx
 | 
					 | 
				
			||||||
script:
 | 
					 | 
				
			||||||
  - xcodebuild -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO build test -quiet
 | 
					 | 
				
			||||||
#  - xcodebuild -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO build-for-testing -quiet
 | 
					 | 
				
			||||||
#  - xctool -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO run-tests --parallelize
 | 
					 | 
				
			||||||
  - swift test
 | 
					 | 
				
			||||||
@ -28,7 +28,7 @@ import Foundation
 | 
				
			|||||||
/// A class that represents a waiting ack call.
 | 
					/// A class that represents a waiting ack call.
 | 
				
			||||||
///
 | 
					///
 | 
				
			||||||
/// **NOTE**: You should not store this beyond the life of the event handler.
 | 
					/// **NOTE**: You should not store this beyond the life of the event handler.
 | 
				
			||||||
public final class SocketAckEmitter : NSObject {
 | 
					public final class SocketAckEmitter: NSObject {
 | 
				
			||||||
    private unowned let socket: SocketIOClient
 | 
					    private unowned let socket: SocketIOClient
 | 
				
			||||||
    private let ackNum: Int
 | 
					    private let ackNum: Int
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -101,7 +101,7 @@ public final class SocketAckEmitter : NSObject {
 | 
				
			|||||||
///     ...
 | 
					///     ...
 | 
				
			||||||
/// }
 | 
					/// }
 | 
				
			||||||
/// ```
 | 
					/// ```
 | 
				
			||||||
public final class OnAckCallback : NSObject {
 | 
					public final class OnAckCallback: NSObject {
 | 
				
			||||||
    private let ackNumber: Int
 | 
					    private let ackNumber: Int
 | 
				
			||||||
    private let binary: Bool
 | 
					    private let binary: Bool
 | 
				
			||||||
    private let items: [Any]
 | 
					    private let items: [Any]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user