Commit Graph

375 Commits

Author SHA1 Message Date
Paul Zabelin
68bc2eff6e use released version of cocoapods 2019-03-04 22:24:21 -08:00
Paul Zabelin
04fb123f83 update pod and bundle 2019-03-04 21:34:02 -08:00
Paul Zabelin
03cefe3b74 fix travis error - fatal: depth 0 is not a positive number 2019-02-06 10:55:17 -08:00
Paul Zabelin
6a3a7ff49d fix lint warnings 2019-02-05 14:37:08 -08:00
Paul Zabelin
932341201e update pod 2019-02-05 14:26:14 -08:00
Paul Zabelin
e2ec54989c update bundle 2019-02-05 14:22:47 -08:00
Paul Zabelin
7c0ac88993 clear cache for circle ci homebrew 2019-01-28 17:03:40 -08:00
Paul Zabelin
2c681ef70d workaround travis lint exception 2019-01-28 17:01:52 -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
49133afc94 Fix travis caching (#4)
* fix travis opencv installation
* add parent directory to cache, as it is small
* inline before script
2019-01-25 21:20:47 -08:00
Paul Zabelin
dddcb47172 optimize opencv cache for travis 2019-01-25 14:38:59 -08:00
Paul Zabelin
b4ce3a496c Merge branch 'circleci'
* circleci: (23 commits)
  update cache number
  explicit path list, as circleci does not support variables
  use environment for cache paths
  add script to install opencv
  install OpenCV with one level dependencies
  add deep brew dependencies link opt
  update pods
  update bundle
  optimize brew cache for opencv
  optimize pod update
  use OpenCV version 2
  add check dependencies job
  reuse pod install for mac
  measure coverage, run on mac
  add more simulators
  parametrize job with xcode destination
  skip pod install if not changed
  add badge
  skip cocoapods spec update when pods are already installed
  lint
  ...
2019-01-25 14:23:27 -08:00
Paul Zabelin
f0ef97b5f5 update cache number 2019-01-25 14:08:47 -08:00
Paul Zabelin
ca58f17e2c explicit path list, as circleci does not support variables 2019-01-25 14:08:06 -08:00
Paul Zabelin
cde59a4fe5 use environment for cache paths 2019-01-25 13:55:24 -08:00
Paul Zabelin
865049f66f add script to install opencv 2019-01-25 12:52:00 -08:00
Paul Zabelin
4ebc8a6bd3 install OpenCV with one level dependencies 2019-01-25 11:00:49 -08:00
Paul Zabelin
e71e0cbb4d add deep brew dependencies link opt 2019-01-25 10:53:12 -08:00
Paul Zabelin
88807fa6d7 update pods 2019-01-24 20:54:27 -08:00
Paul Zabelin
54c93964a8 update bundle 2019-01-24 20:42:24 -08:00
Paul Zabelin
6b252a9432 optimize brew cache for opencv 2019-01-24 20:41:41 -08:00
Paul Zabelin
1386b59a27 optimize pod update 2019-01-24 20:41:07 -08:00
Paul Zabelin
e703e13ada use OpenCV version 2 2019-01-24 20:19:19 -08:00
Paul Zabelin
289e8af02e add check dependencies job 2019-01-24 15:41:56 -08:00
Paul Zabelin
394ec15467 reuse pod install for mac 2019-01-24 15:26:23 -08:00
Paul Zabelin
a0a0df5b57 measure coverage, run on mac 2019-01-24 15:08:50 -08:00
Paul Zabelin
e5b2b22ba7 add more simulators 2019-01-24 14:10:28 -08:00
Paul Zabelin
ddc64f5162 parametrize job with xcode destination 2019-01-24 13:52:19 -08:00
Paul Zabelin
f9fb86c2e0 update bundle 2019-01-24 13:33:25 -08:00
Paul Zabelin
831d8bd20c Merge branch 'better-matrix'
Break down build by stages to run deploy only when all other tests pass

* better-matrix:
  move test stage before deploy
  skip cache on deploy
  add name to deploy, remove env
  fix stages
  move Deploy to a stage
  add names to job in matrix, extract maintenance
2019-01-24 13:12:15 -08:00
Paul Zabelin
37c7008dad skip pod install if not changed 2019-01-21 22:45:03 -08:00
Paul Zabelin
353a6bfc45 add badge 2019-01-21 22:42:21 -08:00
Paul Zabelin
20af3bcf3a skip cocoapods spec update when pods are already installed 2019-01-21 22:29:42 -08:00
Paul Zabelin
f464010f74 lint 2019-01-21 22:06:07 -08:00
Paul Zabelin
02391df459 use curl to get cocoapods specs, fix Podfile.lock path 2019-01-21 21:37:23 -08:00
Paul Zabelin
d6b36bf880 fix pod install syntax 2019-01-21 21:22:57 -08:00
Paul Zabelin
8d3abce39b cache pods and bundle 2019-01-21 21:20:31 -08:00
Paul Zabelin
1290f156b6 move circle ci config to the root 2019-01-21 17:47:40 -08:00
Paul Zabelin
27ff7e383e move test stage before deploy 2019-01-20 14:17:47 -08:00
Paul Zabelin
a6652eabe3 Revert "nest test stages"
This reverts commit c6033d76b8.
2019-01-20 14:15:15 -08:00
Paul Zabelin
c6033d76b8 nest test stages 2019-01-20 14:13:20 -08:00
Paul Zabelin
cafeb270be skip cache on deploy 2019-01-20 13:25:45 -08:00
Paul Zabelin
24f2196076 add name to deploy, remove env 2019-01-20 13:13:12 -08:00
Paul Zabelin
073573ea16 fix stages 2019-01-20 13:09:54 -08:00
Paul Zabelin
c849f6d56d move Deploy to a stage 2019-01-20 13:03:57 -08:00
Paul Zabelin
b10a85d2bd add names to job in matrix, extract maintenance 2019-01-20 12:52:51 -08:00
Paul Zabelin
58921d57f8 update deploy key 2019-01-20 06:01:38 -08:00
Paul Zabelin
dda727bb18 add circle ci config [travis-ci skip] 2019-01-20 05:39:00 -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
fe3e73d4ee upgrade Nimble-Snapshots pod, swift 4.2 2019-01-19 21:42:23 -08:00