diff --git a/.travis.yml b/.travis.yml index 3df5e1a..ed7d4eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,12 @@ language: objective-c xcode_project: Socket.IO-Client-Swift.xcodeproj # path to your xcodeproj folder xcode_scheme: SocketIO-iOS osx_image: xcode7 +before-install: + - cd Socket.IO-Test-Server/ + - npm install + - cd .. +install: node Socket.IO-Test-Server/main.js & script: xctool -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-Mac build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -install: cd Socket.IO-Test-Server/ && npm install && cd .. && node Socket.IO-Test-Server/main.js & cache: directories: - Socket.IO-Test-Server/node_modules