From 9a39524ba221962cca1fc1732a12b9e1a7a5d00b Mon Sep 17 00:00:00 2001 From: Lukas Schmidt Date: Fri, 18 Sep 2015 18:19:05 +0200 Subject: [PATCH] npm install before running test server --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 38419f4..6da9c88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,8 @@ 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 \ No newline at end of file +before_install: cd Socket.IO-Test-Server/ && npm install +install: node Socket.IO-Test-Server/main.js +cache: + directories: + - Socket.IO-Test-Server/node_modules \ No newline at end of file