Added rustfmt check to Jenkins build, and moved to top of Travis build.
This commit is contained in:
parent
3cf2359244
commit
08f15517f2
@ -7,9 +7,9 @@ before_install:
|
||||
- sudo chown $USER /usr/local/bin/protoc
|
||||
- sudo chown -R $USER /usr/local/include/google
|
||||
script:
|
||||
- cargo fmt --all -- --check
|
||||
- cargo build --verbose --all
|
||||
- cargo test --verbose --all
|
||||
- cargo fmt --all -- --check
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -6,6 +6,11 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Check') {
|
||||
steps {
|
||||
sh 'cargo fmt --all -- --check'
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'cargo build'
|
||||
|
Loading…
Reference in New Issue
Block a user