Skip to content

Comments

Install rust in travis.yml for building NIF#14

Open
copperwall wants to merge 3 commits intodiscord:masterfrom
copperwall:master
Open

Install rust in travis.yml for building NIF#14
copperwall wants to merge 3 commits intodiscord:masterfrom
copperwall:master

Conversation

@copperwall
Copy link

@copperwall copperwall commented Aug 26, 2020

This adds a before_install step to the travis.yml which downloads
a rust toolchain for building the native/ directory in this repo.

This doesn't use rust's stable channel because Rustler fails to build on
stable.

Once the project started building in Travis, I noticed that some test cases were timing out due to long run times. I added a commit to increase those timeouts, since the CI environment might be a little slower than an internal test environment.

Lastly, I saw some unnecessary mut warnings in the Travis build log so I removed those as well.

I'm a little new to Elixir so I understand if some of this isn't idiomatic. I'd be super happy for any feedback!

This adds a before_install step to the travis.yml which downloads
a rust toolchain for building the native/ directory in this repo.

This doesn't use rust's stable channel because Rustler fails to build on
stable.
Tests that have an explicit 240_000 second timeout are timing
out in the CI environment. This bumps them to 320_000
@copperwall copperwall changed the title Install rust in travis.yml for building Install rust in travis.yml for building NIF Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant