Skip to content

Commit 300c348

Browse files
authored
Merge pull request #1 from rust-secure-code/ci-configuration
Initial CI configuration
2 parents f4371c8 + 05f5b93 commit 300c348

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.travis.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
language: rust
2+
rust: stable
3+
os: linux
4+
cache: cargo
5+
6+
install:
7+
- rustup component add rustfmt
8+
- rustup component add clippy
9+
10+
branches:
11+
only:
12+
- develop
13+
14+
matrix:
15+
include:
16+
- name: rustfmt
17+
script:
18+
- cargo fmt -- --check
19+
- name: clippy
20+
script:
21+
- cargo clippy
22+
- name: build
23+
script:
24+
- cargo build --release
25+
- name: test
26+
script:
27+
- cargo test --release
28+
- name: test (1.31.0)
29+
rust: 1.31.0
30+
script:
31+
- cargo test --release

0 commit comments

Comments
 (0)