aiohttp-json-rpc icon indicating copy to clipboard operation
aiohttp-json-rpc copied to clipboard

Enable cron builds in Travis CI

Open webknjaz opened this issue 7 years ago • 8 comments
trafficstars

@fscherf hi, there's a few improvements to make, CI-wise:

  1. Run tests against master on daily basis
  2. Migrate integration into new platform travis-ci.com

webknjaz avatar May 14 '18 08:05 webknjaz

@webknjaz: why do we need to test daily? Because of aiohttp updates?

fscherf avatar May 14 '18 10:05 fscherf

Exactly

webknjaz avatar May 14 '18 10:05 webknjaz

I've thougth about something like this too. It would be great to have two seperated travis ens:

  1. testing master against the current well-known aiohttp version
  2. testing master against aiohttp master

The github batch should show nr 1. So i could job 2 to see if there is work ahead for remaining compatible with aiohttp upstream

fscherf avatar May 14 '18 10:05 fscherf

@webknjaz whats the difference between travis-ci.org and travis-ci.com?

fscherf avatar May 14 '18 10:05 fscherf

yes, it's possible to do it this way and also it's possible to do a conditional stage runs, for example, only test forward compatibility within cron jobs.

travis-ci.com is used to be for paid customers only, but now they're merging two platforms into one. So you'll basically get the same. Sooner or later they'll migrate you anyway. Currently you can opt-in for immediate migration, but this won't migrate your old build history (it will be available in the old web-site during some time). Also, they are going away from the deprecated GitHub Services API towards newer Apps API, which also makes it much more flexible for you to control Travis's access to your repos.

webknjaz avatar May 14 '18 11:05 webknjaz

More info: https://blog.github.com/2018-05-07-introducing-checks-api/ https://blog.travis-ci.com/2018-05-07-announcing-support-for-github-checks-api-on-travis-ci-com https://developer.github.com/v3/checks/

Oh, and btw I've already migrated all repos in aio-libs org to the new platform.

webknjaz avatar May 14 '18 11:05 webknjaz

Sounds good to me. Thanks for bringing this up! Would be great if you send patches :)

fscherf avatar May 14 '18 12:05 fscherf

Well, you can already ask Travis' support to migrate the repo and you can already enable cron builds. Both do not depend on patches.

webknjaz avatar May 14 '18 13:05 webknjaz