소스 검색

Move travis instructions into ci.sh

Jeremy Soller 7 년 전
부모
커밋
fb173dc787
2개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      .travis.yml
  2. 6 0
      ci.sh

+ 1 - 3
.travis.yml

@@ -6,8 +6,6 @@ before_script:
   - rustup component add rustfmt-preview
   - rustup target add x86_64-unknown-redox
 script:
-  - bash ./fmt.sh -- --write-mode=diff
-  - bash ./test.sh
-  - cargo build --target=x86_64-unknown-redox
+  - bash ./ci.sh
 notifications:
   email: false

+ 6 - 0
ci.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+set -ex
+
+./fmt.sh -- --write-mode=diff
+./test.sh
+cargo build --target=x86_64-unknown-redox