Skip to content

Commit

Permalink
Merge pull request #121 from kishikawakatsumi/circleci-xcode7
Browse files Browse the repository at this point in the history
Fix failing tests on CircleCI with Xcode 7
  • Loading branch information
kishikawakatsumi committed Oct 4, 2015
2 parents a3e5490 + 4ba83f8 commit f9cd379
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
26 changes: 16 additions & 10 deletions Lib/Rakefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
require 'xcjobs'

def destinations
[ 'name=iPad 2,OS=8.1',
'name=iPad Air,OS=8.1',
'name=iPhone 4s,OS=8.1',
'name=iPhone 5,OS=8.1',
'name=iPhone 5s,OS=8.1',
'name=iPhone 6,OS=8.1',
'name=iPhone 6 Plus,OS=8.1',
'name=iPhone 6,OS=9.0',
'name=iPhone 6 Plus,OS=9.0'
]
if ENV['CIRCLECI']
[ 'name=iPhone 6,OS=9.0',
'name=iPhone 6 Plus,OS=9.0'
]
else
[ 'name=iPad 2,OS=8.1',
'name=iPad Air,OS=8.1',
'name=iPhone 4s,OS=8.1',
'name=iPhone 5,OS=8.1',
'name=iPhone 5s,OS=8.1',
'name=iPhone 6,OS=8.1',
'name=iPhone 6 Plus,OS=8.1',
'name=iPhone 6,OS=9.0',
'name=iPhone 6 Plus,OS=9.0'
]
end
end

XCJobs::Build.new('build:simulator') do |t|
Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
machine:
xcode:
version: "6.3.1"
version: "7.0"

dependencies:
override:
Expand Down

0 comments on commit f9cd379

Please sign in to comment.