add CI
Would you be amenable to adding CI to this project that runs tests automatically?
Yeah, for sure!
I've never used Travis CI so I'll have to do some research on that, but I'm certainly amenable to setting this up.
Ah it's pretty easy! Here's the condensed version:
- Add a
.travis.ymlfile to the root of your repo. Here's an example. - The aforementioned example calls
ci/script.sh, which can just be where you callcargo test. Here's an example. - Once that's done, go to Travis CI and setup an account. You'll probably need to authorize it with GitHub.
- Finally, go to your profile on Travis CI, find your
crossbeam-arccellrepository, and enable it.
And that should be it!
An alternative solution is to push .travis.yml to the root directory with the following contents:
language: rust
rust:
- stable
- beta
- nightly
Then go to the project page, click "Settings", then "Integrations & services", then "Add service", and select "Travis CI".
EDIT: Per @BurntSushi's suggestion, you can add a specific version to the rust section, too. For example:
language: rust
rust:
- stable
- beta
- nightly
- 1.25.0
Please also include at least one specific Rust version to pin to. (stable, beta and nightly are all moving targets.)