Commit Graph

42 Commits

Author SHA1 Message Date
Geoffroy Couprie
1c4f3c5321 add a rustfmt check, and avoid rebuilding cargo related tools every time 2017-12-10 19:57:54 +01:00
Geoffroy Couprie
c6c4d7c75d reduce CI time by removing some alternatives 2017-12-10 16:12:30 +01:00
Geoffroy Couprie
ea622a9710 no_std can pass unit tests now 2017-12-09 15:41:35 +01:00
Geoffroy Couprie
d31a7f7e9c test build with verbose-errors and fix no_std builds 2017-12-09 10:57:10 +01:00
Kamil Markiewicz
f3744bf23c
Test without any flags, especially std one 2017-12-04 22:38:02 +01:00
Kamil Markiewicz
aa89536d76
Running without default features and std flag is espected to work on nightly only 2017-12-04 21:51:34 +01:00
Kamil Markiewicz
c9efb4e41c
Remove uses of the stream feature 2017-12-04 21:47:08 +01:00
Kamil Markiewicz
f5ee459219
Rewrite of Travis CI script 2017-12-04 21:43:15 +01:00
Geoffroy Couprie
8532ae1a9e remove uses of the stream feature 2017-12-03 16:38:16 +01:00
Kamil Markiewicz
bb0fa98096 Run cargo test with default features only 2017-08-31 01:02:15 +02:00
Kamil Markiewicz
a5d50edcc0 Remove travis-cargo as it is used only to run command on desired rustc version 2017-08-31 01:00:08 +02:00
Kamil Markiewicz
8d1595176d Fix testing with many FEATURE configurations on Travis CI 2017-08-30 19:29:21 +02:00
Kamil Markiewicz
afba8a0dcb Cleanup Travis CI config 2017-08-30 16:07:25 +02:00
Geoffroy Couprie
339306342c change compilation features in travis build 2017-05-09 13:31:28 +02:00
Geoffroy Couprie
49e378889d fix CI 2017-03-21 14:38:57 +01:00
Geoffroy Couprie
2b2ca2836a using the cargo build cache 2017-03-21 10:47:32 +01:00
Geoffroy Couprie
db94701564 reactivate build for old versions of Rust 2017-03-19 13:36:05 +01:00
Marc-Antoine Perennou
722ca6b3c6 travis: drop 1.2.0
We need cargo install which was not supported back then

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-03-16 13:43:47 +01:00
Marc-Antoine Perennou
21e6b6ba29 switch to cargo-travis
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-03-16 13:30:58 +01:00
Geoffroy Couprie
80a1deab58 indicate executables directly 2016-12-10 13:08:14 +01:00
Geoffroy Couprie
6f313a1b31 try to fix code coverage tests 2016-12-10 12:57:30 +01:00
Geoffroy Couprie
d00c57f5c7 apparently, the comment is not valid yaml 2016-11-05 16:39:21 +01:00
Geoffroy Couprie
8f8e67815b fix previous commit 2016-11-05 16:32:58 +01:00
Geoffroy Couprie
4671c4dfea add benchmarks to Travis builds and comparisons with master for pull requests 2016-11-05 16:31:00 +01:00
Geoffroy Couprie
7aec80d11d issue with feature exclusion for rust 1.2 2016-08-29 16:23:23 +02:00
Geoffroy Couprie
b017276919 show chosen features 2016-08-29 16:14:32 +02:00
Geoffroy Couprie
0391908bb9 Use Travis's feature combinations 2016-08-29 15:46:09 +02:00
Geoffroy Couprie
20189a051c test changes to the travis script 2016-08-29 15:25:23 +02:00
Geoffroy Couprie
a23684e3f8 Make two versions of the error management code
The first one, activated by default by the "verbose-errors" feature,
can make an error chain by accumulating errors and input position
while backtracing in a parse tree, and show precise information on
which parts of the input were matched by which node in the parse
tree.

The second one will only return a simple error code. It is less
flexible, but will not keep references to the input, and it will
not put previous errors in a Box, thus reducing the code size
(less error drops) et and making the parsers faster.

On some parsers, the simpler solution got a 30% gain in performance,
returning to the speed nom had pre 1.0
2016-08-24 15:37:10 +02:00
Geoffroy Couprie
73660df4c5 Deactivate building with regexp_macros feature on nightly for now
`lazy_static` does not build on nightly because it
requires the `drop_types_in_const` feature
2016-05-10 12:46:00 +02:00
Geoffroy Couprie
b4b4e44281 no_std does not support lazy_static 2016-02-23 18:20:36 +01:00
Geoffroy Couprie
1d2e6e5304 separate features by version 2016-02-23 18:16:21 +01:00
Geoffroy Couprie
17f3118ff2 Don't build regexp with no_std for now 2016-02-23 17:55:00 +01:00
Geoffroy Couprie
f458a51cd8 BUild the no_std version with travis as well 2016-02-23 17:47:12 +01:00
Geoffroy Couprie
56ce495d30 try to fix the travis script 2016-02-23 17:37:34 +01:00
Geoffroy Couprie
4280a10e13 build all the features in travis 2016-02-23 17:28:44 +01:00
Geoffroy Couprie
91880f7f2f the bench can fail in CI 2016-01-11 14:32:42 +01:00
Steve Klabnik
d6b8ff0340 Test on 1.2.0
Nom is a dependency of semver, which is a dependency of cargo, so we need Rust 1.2.0 to work.
2015-11-22 08:24:12 -05:00
Geoffroy Couprie
441c4ae74e Use Travis CI's containers 2015-10-13 14:24:04 +02:00
Geoffroy Couprie
61b8366c47 enable coveralls 2015-07-01 10:32:27 +02:00
Geoffroy Couprie
ee8ba8037b integrate travis with gitter 2015-04-12 00:17:35 +02:00
Geoffroy Couprie
544d2f9b9d add travis file 2015-01-17 18:44:20 +01:00