Commit Graph

11 Commits

Author SHA1 Message Date
Jacob Hoffman-Andrews
b58a3a53b0 Add test.sh. (#173)
This emulates the test matrix that gets run in CI, making it easier to
find failures locally.

There was one conflict in the matrix: when JSON is enabled and TLS is
disabled, two of the doctests would fail. This was previous worked
around as an exclude in the github workflow. I changed the JSON doctest
to use HTTP instead.
2020-10-03 20:47:35 -07:00
Martin Algesten
05ffe53e4c CI: error on dead/unused code for features (#146)
By using `RUSTFLAGS="-D dead_code -D unused-variables -D unused"`, we tell
the compiler to upgrade warnings for unused code to errors. This combined
with a more elaborate test matrix means we can have the CI catch feature
flag combos that cause warnings.
2020-09-18 13:55:23 -07:00
Jacob Hoffman-Andrews
bbde617719 Add --no-deps to doc build. (#102) 2020-07-01 09:36:57 +02:00
Jacob Hoffman-Andrews
3f78953874 Add a GitHub action for building docs. (#89)
This helps ensure we don't break that doc build.
2020-06-24 21:20:07 +02:00
Martin Algesten
6bb838f205 Fix building with socks-proxy feature (#91)
This PR corrects a variable name and type, and ensures we
test the socks-proxy feature as part of the test matrix.
2020-06-24 09:36:08 -07:00
Martin Algesten
cba5b2d078 fix workflow 2020-01-07 08:06:51 +01:00
Tom Forbes
594340a096 Fix compilation errors with the cookies feature (#22)
* Fix compilation errors with the cookies feature
2019-10-30 11:51:06 +01:00
Tom Forbes
e9ca3b26d5 Test pull requests 2019-10-20 21:38:03 +02:00
Tom Forbes
1264213ca6 Test features individually 2019-10-20 20:17:35 +02:00
Tom Forbes
ed29d3feb5 Add --all-features 2019-10-20 10:24:04 +02:00
Tom Forbes
e693dec7a8 Add github actions to the project 2019-10-20 10:24:04 +02:00