move pedantry up, set -x

This commit is contained in:
Graham Christensen 2019-01-02 21:28:11 -05:00
parent 434f4dc5bb
commit f6192a7f35
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 4 additions and 2 deletions

View file

@ -3,11 +3,11 @@ nix: 2.1
sudo: true sudo: true
matrix: matrix:
include: include:
- name: cargo pedantry
script: nix-shell --run checkPhase --arg useNix1 false -A mozilla-rust-overlay
- name: checkPhase - Nix 2 - name: checkPhase - Nix 2
script: nix-shell --run checkPhase --arg useNix1 false script: nix-shell --run checkPhase --arg useNix1 false
- name: checkPhase - Nix 2 - name: checkPhase - Nix 2
script: nix-shell --run checkPhase --arg useNix1 false script: nix-shell --run checkPhase --arg useNix1 false
- name: checkPhase - Nix 1 - name: checkPhase - Nix 1
script: nix-shell --run checkPhase --arg useNix1 true script: nix-shell --run checkPhase --arg useNix1 true
- name: cargo pedantry
script: nix-shell --run checkPhase --arg useNix1 false -A mozilla-rust-overlay

View file

@ -49,6 +49,8 @@ let
checkPhase() ( checkPhase() (
cd "${builtins.toString ./.}/ofborg" cd "${builtins.toString ./.}/ofborg"
set -x
cargo fmt cargo fmt
git diff --exit-code git diff --exit-code
cargofmtexit=$? cargofmtexit=$?