vrruiz / xisfits

Convert images from XISF to FITS
MIT License
8 stars 0 forks source link

Travis-CI configuration #4

Closed Razican closed 4 years ago

Razican commented 4 years ago

Hello, I added a better Travis-CI configuration, that should check the program in Linux, MacOS and Windows, and for the minimum supported Rust version (1.32), the current stable one, the beta channel and the nightly channel.

It will also check Clippy lints and the formatting (it will fail untill other PRs that fix this land). It's ready to send code coverage reports to CodeCov if you create a project at https://codecov.io/ with your GitHub login and uncomment the after_success and the relevant part in the bash helper.

It's also ready to deploy documentation in GitHub pages if you provide a $GH_TOKEN in the Travis-CI environment and uncomment the job in the .travis.yml file.

It will cache between builds so that new builds take less time.

I did a bunch of commits, so feel free to squash on merge :)

Let me know if you activate the $GH_TOKEN variable in Travis-CI and/or if you create the code coverage project in CodeCov, so that I uncomment the relevant parts and they are properly tested.

vrruiz commented 4 years ago

Wow, lots of new options, this is looking pro now. Awesome, thanks! :)

I tried to build in Travis with Linux, but somehow it was reverting to rake, could figure out why.

I'll have some tests but need to get them properly added. I'll ping you when they are ready.