travis test
This commit is contained in:
parent
198f24c684
commit
5b6b36a2dc
@ -2,4 +2,5 @@ language: objective-c
|
|||||||
xcode_project: Socket.IO-Client-Swift.xcodeproj # path to your xcodeproj folder
|
xcode_project: Socket.IO-Client-Swift.xcodeproj # path to your xcodeproj folder
|
||||||
xcode_scheme: SocketIO-iOS
|
xcode_scheme: SocketIO-iOS
|
||||||
osx_image: xcode7
|
osx_image: xcode7
|
||||||
script: xcodebuild -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-iOS -sdk iphonesimulator build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
|
script: xcodebuild -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-iOS -sdk iphonesimulator build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
|
||||||
|
before_install: node Socket.IO-Test-Server/main.js
|
||||||
@ -9,7 +9,7 @@
|
|||||||
import XCTest
|
import XCTest
|
||||||
|
|
||||||
class AbstractSocketTest: XCTestCase {
|
class AbstractSocketTest: XCTestCase {
|
||||||
static let testLocal = false
|
static let testLocal = true
|
||||||
static let serverURL = AbstractSocketTest.testLocal ? "localhost:6979" : "milkbartube.com:6979"
|
static let serverURL = AbstractSocketTest.testLocal ? "localhost:6979" : "milkbartube.com:6979"
|
||||||
static let TEST_TIMEOUT = 8.0
|
static let TEST_TIMEOUT = 8.0
|
||||||
static var socket:SocketIOClient!
|
static var socket:SocketIOClient!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user