travis test

This commit is contained in:
Lukas Schmidt 2015-09-18 18:14:12 +02:00
parent 198f24c684
commit 5b6b36a2dc
2 changed files with 3 additions and 2 deletions

View File

@ -3,3 +3,4 @@ xcode_project: Socket.IO-Client-Swift.xcodeproj # path to your xcodeproj folder
xcode_scheme: SocketIO-iOS
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
before_install: node Socket.IO-Test-Server/main.js

View File

@ -9,7 +9,7 @@
import XCTest
class AbstractSocketTest: XCTestCase {
static let testLocal = false
static let testLocal = true
static let serverURL = AbstractSocketTest.testLocal ? "localhost:6979" : "milkbartube.com:6979"
static let TEST_TIMEOUT = 8.0
static var socket:SocketIOClient!