Commit Graph

77 Commits

Author SHA1 Message Date
David Tolnay
9bb196ae6e
Work around failing to parse manifest in 1.27 and 1.28 builds 2019-07-28 10:07:15 -07:00
David Tolnay
e7269ac84e
Add travis builds on every version in build.rs 2019-07-28 08:36:06 -07:00
David Tolnay
a280942f02
Add a builder on 1.34 to cover atomic types 2019-07-16 07:29:10 -07:00
David Tolnay
24f292d081
Build alloc feature on 1.36 in travis 2019-07-16 07:22:47 -07:00
David Tolnay
140f9beee7
Switch ui tests to trybuild 2019-05-06 10:25:47 -07:00
David Tolnay
fba1b92cbf
Temporarily disable compiletest testing in CI
The nightly compiler just added a dependency on serde so libserde ends
up in the sysroot, breaking crate resolution inside of compiletest. We
will need to figure out how else to run these tests.

    error[E0464]: multiple matching crates for `serde`
      --> $DIR/wrong_ser.rs:9:10
       |
     9 | #[derive(Serialize)]
       |          ^^^^^^^^^
       |
       = note: candidates:
               crate `serde`: /rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserde-2b75907288aa7c40.rlib
               crate `serde`: /serde/test_suite/deps/target/debug/deps/libserde-33e0a319242344ce.rlib
2019-04-22 22:42:36 -07:00
David Tolnay
ac0d8f61c5
Use non-preview name of Clippy rustup component 2019-03-01 23:11:06 -08:00
David Tolnay
1df8b5785b
Test with same features in Travis and AppVeyor 2018-12-31 23:31:49 -05:00
David Tolnay
054ab1adaf
Update serde documentation to 2018 edition 2018-12-31 23:22:11 -05:00
David Tolnay
ba8c3970b0
Use tool lint naming in clippy invocation 2018-12-31 22:51:38 -05:00
David Tolnay
6d43a08a1d
Remove dev-dependencies features from serde_test
Apparently Cargo is applying these features to the non-dev dependency on
serde as well. Concluded by running `cargo clean && cargo build` and
observing that serde_derive was getting built.
2018-12-31 22:43:15 -05:00
David Tolnay
e6fda1c410
Fix clippy command to run against test suite 2018-12-31 21:56:10 -05:00
David Tolnay
ab3f4971f0
Move compiletest out of the unstable feature flag 2018-12-31 21:28:39 -05:00
David Tolnay
6b33abb179
Set up Travis build names 2018-11-24 15:12:48 -08:00
David Tolnay
820107d15e
Move emscripten CI to allow_failures
Not sure what is going on with this failure that just started happening with no
code change on our end. Wait and see if it goes away.

On asmjs-unknown-emscripten:

    Assertion failed: compiled without a main, but one is present. if you added
    it from JS, use Module["onRuntimeInitialized"]

    undefined:109
        throw ex;
        ^

    abort("Assertion failed: compiled without a main, but one is present. if you
    added it from JS, use Module[\"onRuntimeInitialized\"]") at Error

On wasm32-unknown-emscripten:

    Assertion failed: compiled without a main, but one is present. if you added
    it from JS, use Module["onRuntimeInitialized"]

    failed to asynchronously prepare wasm: abort("Assertion failed: compiled
    without a main, but one is present. if you added it from JS, use
    Module[\"onRuntimeInitialized\"]") at Error
2018-11-10 20:06:18 -08:00
David Tolnay
f878d2ebd5
Do not require clippy for a green build 2018-10-06 21:26:25 -07:00
David Tolnay
5023e2ad52
Fix escaping issues in emscripten CI commands 2018-09-15 16:37:46 -07:00
David Tolnay
810cde1c84
Split travis builds into individual steps 2018-09-15 16:15:59 -07:00
David Tolnay
9436efb80e
Move CI commands into travis.yml and appveyor.yml 2018-09-15 16:04:57 -07:00
David Tolnay
2244b92eb0
Nvm install in .travis.yml
The one in travis.sh was failing:

    ./travis.sh: line 56: nvm: command not found
    The command "./travis.sh" exited with 127.
2018-09-02 12:45:12 -07:00
David Tolnay
d0464fbff7
Add Emscripten build in Travis 2018-09-02 12:34:13 -07:00
David Tolnay
d094209774
CI builders for all versions mentioned in the build script
This should prevent accidentally inserting something under one of these
cfgs that is available only on a newer rustc. For example if something
is changed in the Duration serialization, but that change works only on
a recent rustc, our test suite will not have caught it before.
2018-06-03 01:26:58 -07:00
David Tolnay
77f9e63661
Add a CI build on 1.15.0 2018-05-02 14:29:51 -07:00
David Tolnay
34b39083bc
No error if clippy install fails 2017-02-01 00:38:02 -08:00
David Tolnay
48f4deac55
No more travis-cargo 2017-01-31 12:18:57 -08:00
David Tolnay
b47e1a6dc3
Allow clippy failure in travis 2017-01-31 12:07:35 -08:00
David Tolnay
39c7797633
Allow running travis build locally 2017-01-31 12:07:31 -08:00
Oliver Schneider
368784949e move to cargo clippy instead of using the clippy plugin (#733)
* move to cargo clippy instead of using the clippy plugin

fixes #729

* non-exectable scripts must be run with `sh`

* don't build serde in the clippy travis job

* only run clippy tests if installing clippy succeeds

* why is travis so picky?

* no more serde_codegen

* serde_test_suite_deps has no features

* don't use empty loops, llvm optimizes them to undefined behaviour

* abort the clippy job when clippy lints are triggered

* use caches on travis to speed up builds

* why are we even using `travis-cargo`?

* need to reinstall clippy frequently due to nightly updates

* command line tools are hard
2017-01-31 09:09:37 -08:00
David Tolnay
dd13fd3a34
Isolate the compiletest dependencies 2017-01-27 14:53:30 -08:00
David Tolnay
571a2e4e2d
Indent the travis config to look like serde_json's 2017-01-27 14:17:07 -08:00
David Tolnay
70ab3cdd61
Docs are built in a different repo 2017-01-25 20:51:10 -08:00
David Tolnay
8fb554e593
Rename no_std tests to underscores 2017-01-25 20:50:23 -08:00
David Tolnay
7a2bfdc1dd
Consistent underscores in root directory 2017-01-25 20:45:33 -08:00
David Tolnay
9046e9d7a1
Test suite requires beta for now 2017-01-25 20:45:08 -08:00
David Tolnay
68aab2424f
Rename test suite crate 2017-01-25 20:40:13 -08:00
David Tolnay
3e1e42ef9b
Combine the test suites 2017-01-25 20:29:09 -08:00
David Tolnay
d7dadd83b6
Remove the syntex example 2017-01-25 19:54:24 -08:00
David Tolnay
1ffb0570b6
Do not require rustdoc tests to run on stable 2017-01-24 20:47:31 -08:00
David Tolnay
fc4e370ba9
Support serde_derive on no_std 2017-01-23 16:03:06 -08:00
David Tolnay
13794c1b48
Stop testing on rust 1.12.0 2017-01-17 09:19:39 -08:00
David Tolnay
9fc8a86bcc
Exclude serde-syntex-example until serde_json has been updated 2017-01-13 13:34:41 -08:00
Erick Tryzelaar
b6e8b58cb2 Stop testing on 1.11 2017-01-02 14:59:00 -08:00
David Tolnay
7efa0153b0
Drop testing on rust 1.10 2016-11-19 15:24:40 -08:00
David Tolnay
86f0d0382f
Drop coveralls
Has not been uploading for months.
2016-10-20 00:33:03 -07:00
Erick Tryzelaar
cbe6b4c97c Drop support for rust 1.8.0 and 1.9.0. 2016-10-15 14:43:30 -07:00
David Tolnay
8b7b886036
Test serde_derive instead of serde_macros 2016-09-28 11:19:27 -07:00
David Tolnay
e0c9bd4b87
Remove doc-upload 2016-08-13 19:15:48 -07:00
David Tolnay
33d26c6d38
Remove CNAME
This is now managed by github.com/serde-rs/docs.
2016-08-13 17:54:56 -07:00
David Tolnay
0557a7feac
Point links to docs.serde.rs 2016-08-13 15:01:57 -07:00
David Tolnay
09fe2dbba5
Generate docs from 'docs' branch instead of master 2016-07-30 16:45:47 -07:00