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 $USER /usr/local/bin/protoc
|
||||||
- sudo chown -R $USER /usr/local/include/google
|
- sudo chown -R $USER /usr/local/include/google
|
||||||
script:
|
script:
|
||||||
|
- cargo fmt --all -- --check
|
||||||
- cargo build --verbose --all
|
- cargo build --verbose --all
|
||||||
- cargo test --verbose --all
|
- cargo test --verbose --all
|
||||||
- cargo fmt --all -- --check
|
|
||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -6,6 +6,11 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
stage('Check') {
|
||||||
|
steps {
|
||||||
|
sh 'cargo fmt --all -- --check'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'cargo build'
|
sh 'cargo build'
|
||||||
|
Loading…
Reference in New Issue
Block a user