소스 검색

enable rustfmt in travis ci

Michael Mächtel 8 년 전
부모
커밋
31a14b7c81
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      .travis.yml
  2. 3
    0
      ci/run-travis.sh

+ 1
- 0
.travis.yml 파일 보기

@@ -1,6 +1,7 @@
1 1
 language: rust
2 2
 rust: stable
3 3
 cache: cargo
4
+before_script: (cargo install rustfmt || true)
4 5
 sudo: false
5 6
 git:
6 7
   depth: 1

+ 3
- 0
ci/run-travis.sh 파일 보기

@@ -8,6 +8,9 @@ MY_PATH="$(dirname "$0")"
8 8
 # basic style check
9 9
 "$MY_PATH/check-basic-style.py"
10 10
 
11
+# rustfmt style check
12
+"$MY_PATH/rustfmt.sh"
13
+
11 14
 # check that everything compiles and all tests pass
12 15
 "$MY_PATH/test-rust.sh"
13 16
 

Loading…
취소
저장