File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ before_install:
13
13
14
14
script :
15
15
- bundle exec rake rubocop
16
- - bundle exec parallel_test test/unit/ -n 4
17
- - AUTOMATION_NAME_DROID=espresso bundle exec parallel_test test/unit/android -n 4
18
- - AUTOMATION_NAME_DROID=appium AUTOMATION_NAME_IOS=appium bundle exec parallel_test test/unit -n 4
16
+ - UNIT_TEST=true bundle exec parallel_test test/unit/ -n 4
17
+ - UNIT_TEST=true AUTOMATION_NAME_DROID=espresso bundle exec parallel_test test/unit/android -n 4
18
+ - UNIT_TEST=true AUTOMATION_NAME_DROID=appium AUTOMATION_NAME_IOS=appium bundle exec parallel_test test/unit -n 4
19
19
20
20
notifications :
21
21
email :
Original file line number Diff line number Diff line change @@ -117,9 +117,11 @@ def ios
117
117
}
118
118
}
119
119
120
- xcode_org_id = ENV [ 'ORG_ID' ] || 'Simulator'
121
- cap = add_ios_real_device ( cap . dup , xcode_org_id ) if real_device
122
- cap = add_xctestrun ( real_device , cap . dup , xcode_org_id )
120
+ if ENV [ 'UNIT_TEST' ] . nil?
121
+ xcode_org_id = ENV [ 'ORG_ID' ] || 'Simulator'
122
+ cap = add_ios_real_device ( cap . dup , xcode_org_id ) if real_device
123
+ cap = add_xctestrun ( real_device , cap . dup , xcode_org_id )
124
+ end
123
125
124
126
cap
125
127
end
You can’t perform that action at this time.
0 commit comments