Skip to content

Commit

Permalink
Update travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
jCalaU committed Oct 14, 2016
1 parent 0432f7e commit 19bb63f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 16 additions & 2 deletions .travis.yml
@@ -1,7 +1,21 @@
language: objective-c
osx_image: xcode7.3
osx_image: xcode8
env:
matrix:
- TEST_OS="platform=iOS Simulator,name=iPhone 5,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 5s,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 6,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 6 Plus,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 6s,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 6s Plus,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 7,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone 7 Plus,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPhone SE,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPad Retina,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPad Air,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPad Air 2,OS=10.0"
- TEST_OS="platform=iOS Simulator,name=iPad Pro,OS=10.0"

- TEST_OS="platform=iOS Simulator,name=iPhone 4s,OS=9.3"
- TEST_OS="platform=iOS Simulator,name=iPhone 5,OS=9.3"
- TEST_OS="platform=iOS Simulator,name=iPhone 5s,OS=9.3"
Expand Down Expand Up @@ -95,4 +109,4 @@ before_install:
- gem install xcpretty -N --no-ri --no-rdoc
script:
- set -o pipefail
- xcodebuild -project Prey.xcodeproj -scheme Prey clean test -destination "${TEST_OS}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
- xcodebuild -project Prey.xcodeproj -scheme Prey clean test -destination "${TEST_OS}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
2 changes: 1 addition & 1 deletion PreyTests/PreyRestTests.swift
Expand Up @@ -358,7 +358,7 @@ class PreyRestTests: XCTestCase {
// Check userApiKey isn't empty
if let username = PreyConfig.sharedInstance.userApiKey {

PreyHTTPClient.sharedInstance.userRegisterToPrey(username, password:"x", params:nil, messageId:nil, httpMethod:Method.DELETE.rawValue, endPoint:deleteDeviceEndpoint, onCompletion:PreyHTTPResponse.checkResponse(RequestType.deleteDevice, onCompletion:{(isSuccess: Bool) in
PreyHTTPClient.sharedInstance.userRegisterToPrey(username, password:"x", params:nil, messageId:nil, httpMethod:Method.DELETE.rawValue, endPoint:deleteDeviceEndpoint, onCompletion:PreyHTTPResponse.checkResponse(RequestType.deleteDevice, preyAction:nil, onCompletion:{(isSuccess: Bool) in

// Check if add device is success
XCTAssertTrue(isSuccess)
Expand Down

0 comments on commit 19bb63f

Please sign in to comment.