Skip to content

Commit 1156f26

Browse files
madsmtmdunmatt
authored andcommitted
Test features in CI
1 parent 0b17448 commit 1156f26

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

.travis.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
language: rust
2-
# TODO: put stable and beta back in once slice_pattern lands in stable
32
rust:
4-
# - stable
5-
# - beta
6-
- nightly
3+
- stable
4+
- beta
5+
- nightly
76

87
cache: cargo
8+
9+
script:
10+
- cargo test --verbose
11+
- cargo build --features serde
12+
- cargo build --features std

Cargo.toml

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
name = "no-std-net"
33
description = "Rust's std::net... without the 'std'."
44
version = "0.5.0"
5-
authors = [ "M@ Dunlap <[email protected]>" ]
6-
categories = [ "embedded", "network-programming", "no-std" ]
5+
authors = ["M@ Dunlap <[email protected]>"]
6+
categories = [
7+
"embedded",
8+
"network-programming",
9+
"no-std",
10+
]
711
repository = "https://github.com/dunmatt/no-std-net"
812
license = "MIT"
13+
readme = "README.md"
914

1015
[badges]
1116
maintenance = { status = "actively-developed" }
@@ -20,4 +25,4 @@ serde_test = "^1"
2025
[features]
2126
std = []
2227
# Deprecated. Does nothing.
23-
i128 = [ ]
28+
i128 = []

0 commit comments

Comments
 (0)