diff --git a/.travis.yml b/.travis.yml index 9544eb8..c6ccdf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,12 @@ language: objective-c 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: + - brew update + - brew outdated xctool || brew upgrade xctool +script: xctool -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-iOS -sdk iphonesimulator build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO before_install: cd Socket.IO-Test-Server/ && npm install && cd .. -install: node Socket.IO-Test-Server/main.js +install: node Socket.IO-Test-Server/main.js & cache: directories: - Socket.IO-Test-Server/node_modules \ No newline at end of file