This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
Updated Rakefile to run multiple OS versions of unit tests #2716
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kcharwood
force-pushed
the
unit_test_rake_file_updates
branch
from
May 12, 2015 19:41
1d1af30
to
71989df
Compare
kcharwood
changed the title
Updated Rakefile to run multiple versions of unit tests
Updated Rakefile to run multiple OS versions of unit tests
May 12, 2015
Looks like this one will need a bit more work as well. Travis Error Log:
|
Here are the available simulators on Travis:
As you can see, the 7.0 devices are really 7.0.3 devices, but Apple doesn't list them that way. I have updated the script to associate the runtime version with the OS version from the Runtimes section, and use that value instead. |
kcharwood
force-pushed
the
unit_test_rake_file_updates
branch
from
May 12, 2015 21:01
20e6ac6
to
0184a84
Compare
kcharwood
force-pushed
the
unit_test_rake_file_updates
branch
from
May 13, 2015 14:55
0184a84
to
80de78b
Compare
I noticed the following issue being thrown in Travis: Rather than explain how to fix it, I just decided to actually fix it in #2719. |
These changes look good to me @kcharwood. My rubyfu isn't stellar, but I'd say this looks like it's getting the job done. |
kcharwood
added a commit
that referenced
this pull request
May 14, 2015
Updated Rakefile to run multiple OS versions of unit tests
Looks good, perhaps we can look at using https://github.com/layerhq/xctasks to make this simpler in the future. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#2702 helped me discover our unit tests aren't running on all of the available simulators installed on Travis.
This PR attempts to rectify that by using the
-destination
parameter for Xcode build. You can get the list of available simulators on a machine by usingxcrun simctl list
, and I have some regex to pull out a simulator for each OS version.This may still occasionally cause Travis to fail because of the issues with the reachability tests that are fixed in #2702.
cc @cnoon @mattt @kylef