Commit Graph

213 Commits

Author SHA1 Message Date
Paul Zabelin
64adf79f49 Optimize travis build (#3)
* use whole module compilation mode

to workaround intermittent code sign failures, see https://travis-ci.org/paulz/PerspectiveTransform/jobs/481952493#L985
that could be caused by known Xcode 10 issue: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes/build_system_release_notes_for_xcode_10

* reuse test images from the app in app specs

* exclude svg from app specs as it is not used

* exclude metadata files from Example app build

* Revert "reuse test images from the app in app specs"

This reverts commit 9b18b81a036adc547771efed10cfe13e56f9c207.

* disallow warnings in pod lib lint, make SnapshotSpec work with or without app resources

* disable localization

* remove unused xcconfig files

* enable batch mode experiment

to workaround code sign issues: https://github.com/Yummypets/YPImagePicker/issues/236

* delete all code signing build settings

* fix framework specs dependency on the example app

* move scheme to workspace, disable auto create, ignore playground compiled files

* reuse test bundle info, remove unused build settings

* reset bundle indentifiers to the same value

* remove module name

* clean mac target build settings

* remove unused FRAMEWORK_SEARCH_PATHS

* reuse wrapper header as bridging

* reuse before install, cache bundler
2019-01-20 05:25:03 -08:00
Paul Zabelin
fe3e73d4ee upgrade Nimble-Snapshots pod, swift 4.2 2019-01-19 21:42:23 -08:00
Paul Zabelin
ab36dddca1 use Debug for command line by default 2019-01-19 20:20:09 -08:00
Paul Zabelin
fb38fd49ca disable code sign on simulator 2019-01-19 19:48:28 -08:00
Paul Zabelin
340c342155 update pods 2019-01-19 19:18:07 -08:00
Paul Zabelin
be9caea4ef compare with tolerance on iPhone 5s 2019-01-19 02:21:55 -08:00
Paul Zabelin
92cb3b48ae log warning on travis 2019-01-19 01:11:52 -08:00
Paul Zabelin
90d2d674a4 add image tolerance to snapshot test
for pod lib lint to pass validation on travis
2019-01-18 23:54:48 -08:00
Paul Zabelin
ba2cec7759 fix warning in the playground source 2019-01-17 13:50:02 -08:00
Paul Zabelin
1366700f33 xcode update to recommended settings 2019-01-17 13:36:29 -08:00
Paul Zabelin
2a0c52781c fix cocoapods warning
include inherited header search path
2019-01-17 13:33:28 -08:00
Paul Zabelin
db7f86d1b7 pod update after upgrading cocoapods to beta 2019-01-17 13:30:31 -08:00
Paul Zabelin
6e93d05ff5 use latest cocoapods beta
to debug pod lib lint failures in test_spec
2019-01-17 13:14:29 -08:00
Paul Zabelin
eea69c70c4 disable code sign on simulator 2019-01-15 21:09:02 -08:00
Paul Zabelin
5d89a09395 use clean test
cleanup build settings in attempt to fix code signing error:
https://travis-ci.org/paulz/PerspectiveTransform/jobs/480098662#L973
2019-01-15 14:57:23 -08:00
Paul Zabelin
87a7f0b3b7 update pods 2019-01-15 11:45:24 -08:00
Paul Zabelin
d4f86340e8 wip: fix travis intermittent failures
due to code signing, see https://travis-ci.org/paulz/PerspectiveTransform/jobs/438786385#L883
by moving code signing settings to project level from targets
2018-10-08 12:30:09 -07:00
Paul Zabelin
f69a92074c migrate to Swift 4.2 2018-10-08 11:25:06 -07:00
Paul Zabelin
adbca9d84a update pods 2018-10-08 09:42:14 -07:00
Andrew Romanov
7559ffa099 changed swift version to 4.2 2018-10-03 14:45:56 +07:00
Paul Zabelin
9969537e5e update ruby xcode pods bundle 2018-06-15 22:32:35 -07:00
Paul Zabelin
18196e1517 upgrade to Xcode 9.4 recommended settings 2018-06-01 14:55:43 -07:00
Paul Zabelin
fb071d22cf add workaround for xcode bug incorrectly reporting test coverage
See: http://www.openradar.me/radar?id=5065986117992448
2018-06-01 14:46:47 -07:00
Paul Zabelin
36e0c18da0 add test subspecs 2018-06-01 11:44:26 -07:00
Paul Zabelin
6dd8da7dd2 make Quadrilateral internal 2018-03-12 02:16:44 -07:00
Paul Zabelin
2dc825524b extract helper classes into separate files 2018-03-12 01:48:52 -07:00
Paul Zabelin
c812bca31c show text view while dragging in Example project 2018-03-11 14:44:25 -07:00
Paul Zabelin
986e0e59fb show key frame animation for matrix components 2018-03-09 23:24:46 -08:00
Paul Zabelin
6ea303bc27 refactor PanViewController 2018-03-09 21:59:54 -08:00
Paul Zabelin
2e5185da4c refactor pan view method 2018-03-09 21:40:52 -08:00
Paul Zabelin
2179aabdb7 fix placement of photo overlay after rotation 2018-03-09 01:54:37 -08:00
Paul Zabelin
2275209422 fix macOS test
fix imports order
2018-03-09 01:13:08 -08:00
Paul Zabelin
8048fb066f mute warnings from opencv doxygen comments 2018-03-09 00:04:42 -08:00
Paul Zabelin
2ee9b4c919 cleanup build settings from targets to project 2018-03-08 23:55:45 -08:00
Paul Zabelin
d39d0b0cf4 convert never happening condition to assert 2018-03-07 23:40:03 -08:00
Paul Zabelin
43acd94ded update baselines from bots 2018-03-07 23:00:37 -08:00
Paul Zabelin
71ee570786 add compare spec for perspective transform 2018-03-07 22:24:43 -08:00
Paul Zabelin
301a7d88a0 add CompareMethodsSpec 2018-03-07 22:19:30 -08:00
Paul Zabelin
00dfc84779 refactor test image helper 2018-03-07 21:14:13 -08:00
Paul Zabelin
9c62b0b4b7 move normalization with conversion to 3D matrix 2018-03-07 03:17:44 -08:00
Paul Zabelin
f5a3fb8e6e remove extra normalization 2018-03-07 03:04:56 -08:00
Paul Zabelin
b3fdf4ba93 verify basisVectorsToPointsMap on random points 2018-03-04 22:05:37 -08:00
Paul Zabelin
f2b7ca41ae add spec for basisVectorsToPointsMap 2018-03-04 21:04:15 -08:00
Paul Zabelin
b68defc19c reformat comments to headerdoc 2018-03-04 20:09:39 -08:00
Paul Zabelin
c6ea874b1d add performance test for open cv
to compare perspective transform with find homography
2018-03-04 01:33:35 -08:00
Paul Zabelin
7a1ea1566e add cvGetPerspectiveTransform
another OpenCV method to solve the same problem
add spec to prove the result is the same
2018-03-04 01:22:44 -08:00
Paul Zabelin
51d9c9a06a rename OpenCVWrapper.transform to findHomography 2018-03-04 00:51:33 -08:00
Paul Zabelin
c8df0dfe0e update performance data 2018-03-03 10:21:32 -08:00
Paul Zabelin
3e5d7618f9 enable test coverage 2018-03-03 04:43:27 -08:00
Paul Zabelin
16ecdc3eb2 do not code sign test bundle on mac 2018-03-02 20:33:31 -08:00