Commit Graph

116 Commits

Author SHA1 Message Date
Paul Zabelin
944a5f4bac describe performance test results 2019-04-10 03:24:56 -07:00
Paul Zabelin
137dfd5808 refactor to reuse CompareTransformSpecConfiguration 2019-04-10 02:53:10 -07:00
Paul Zabelin
51ed02f993 use latest iOS and macOS versions for testing 2019-04-09 02:44:16 -07:00
Paul Zabelin
ecfdfd972b migrate to swift 5 2019-04-09 01:30:07 -07:00
Paul Zabelin
49c058a54c migrate to new SIMD and xcode project settings 2019-04-09 01:17:39 -07:00
Paul Zabelin
923a8fe0ab rename performance test, add baselines 2019-03-12 03:27:18 -07:00
Paul Zabelin
bf00c9a461 add performance test
to show bit cast init is faster
2019-03-12 03:16:43 -07:00
Paul Zabelin
9d3ec57c6c refactor CATransform3D init
to use unsafe bit cast instead of constructor
2019-03-12 02:44:51 -07:00
Paul Zabelin
935d7c73da remove xcode coverage workaround
as it seems to be fixed in xcode 10.1, http://www.openradar.me/radar?id=5065986117992448
2019-03-12 01:36:17 -07:00
Paul Zabelin
04fb123f83 update pod and bundle 2019-03-04 21:34:02 -08:00
Paul Zabelin
822d7cf90f Use OpenCV version 4 (#5)
* use opencv4 
* update opencv installation script for OpenCV 4
* update directories for caching homebrew packages
* add include path for mac os high sierra and opencv3
* refactor OpenCV wrapper to use static C functions
2019-01-28 11:36:05 -08:00
Paul Zabelin
865049f66f add script to install opencv 2019-01-25 12:52:00 -08:00
Paul Zabelin
e703e13ada use OpenCV version 2 2019-01-24 20:19:19 -08:00
Paul Zabelin
f464010f74 lint 2019-01-21 22:06:07 -08:00
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
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
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
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
Andrew Romanov
7559ffa099 changed swift version to 4.2 2018-10-03 14:45:56 +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
2dc825524b extract helper classes into separate files 2018-03-12 01:48:52 -07:00
Paul Zabelin
2ee9b4c919 cleanup build settings from targets to project 2018-03-08 23:55:45 -08:00
Paul Zabelin
43acd94ded update baselines from bots 2018-03-07 23:00:37 -08:00
Paul Zabelin
301a7d88a0 add CompareMethodsSpec 2018-03-07 22:19:30 -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
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
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
Paul Zabelin
38ec689b50 fix refernces to urs/local/lib 2018-03-02 20:12:42 -08:00
Paul Zabelin
4348e890d5 refactor podfile 2018-03-02 18:57:07 -08:00
Paul Zabelin
a314caa460 use absolute path for frameworks 2018-03-02 18:42:45 -08:00
Paul Zabelin
40a5311b30 reuse existing cocoapods
move carthage version to deploy

remove pod version as it is already announced as part of the normal build:
https://travis-ci.org/paulz/PerspectiveTransform/builds/348443168 (+10 squashed commits)
Squashed commits:
[5266b7e] cleanup travis script
[424663f] remove rvm and bundle

to use existing cocoapods
[897a05d] skip installing slather on travis
[c405709] reuse existing bundler
[da5271e] shoe bundle version
[0526b4e] use the same version of cocoapods as on travis
[5314398] remove cocoapods gem to reuse existing on travis
[6900b88] log rvm gems
[a2476a3] Update .travis.yml

Remove RVM to use default
[1a6478c] show cocoapods version
2018-03-02 14:19:56 -08:00
Paul Zabelin
7f16871573 exclude code coverage from app build 2018-03-01 16:57:46 -08:00
Paul Zabelin
c652086a54 update baselines 2018-03-01 00:55:00 -08:00
Paul Zabelin
804db47ff8 organize project files
add image to launch screen
2018-02-28 22:12:44 -08:00
Paul Zabelin
95783c68c3 refactor accelerate test to verify correctness 2018-02-28 21:04:25 -08:00
Paul Zabelin
90281b04e1 fix travis coverage report generation
prefix with bundle exec in hope to launch slather
2018-02-28 19:33:46 -08:00
Paul Zabelin
0fc67cd401 reorder travis config
to match the order of execution, see
https://travis-ci.org/paulz/PerspectiveTransform/jobs/347584158
2018-02-28 19:10:15 -08:00
Paul Zabelin
51e7d0f82f refactor travis Gemfile
to use group, as travis now requires cocoapods for pod install
2018-02-28 18:12:34 -08:00