Răsfoiți Sursa

Move travis instructions into ci.sh

Jeremy Soller 7 ani în urmă
părinte
comite
fb173dc787
2 a modificat fișierele cu 7 adăugiri și 3 ștergeri
  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