mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Added rustfmt check to Jenkins build, and moved to top of Travis build.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user