Open seaneagan opened 9 years ago
drone.io?
Drone doesn't appear to have any config file we can use, but we could add a tool/drone.sh
script which runs grinder via --drone
. Would that work?
I haven't used travis and appveyor and don't know what you have in mind by supporting them.
I think tool/drone.sh
is fine.
An example (maybe there are better ones)
pub get
sudo start xvfb
pub run grind drone
So it would create a .travis.yml
and appveyor.yml
very similar to those in this repository. If they already exist, would probably just fail, and make the user edit them instead.
I think the last line in tool/drone.sh
would just run the default task:
pub run grinder:grinder
That task can inspect the environment variables to determine if it is executing on drone, and do something specific if needed.
Sounds great :)
pub run grinder:init --travis --appveyor
would initialize a.travis.yml
andappveyor.yml
whose script ispub run grinder:grinder
(which we can update topub run grinder
once Dart 1.10 is ubiquitous).