local before_scipt was completly overwritting the global one.

This commit is contained in:
Jordan Petridis 2017-10-10 17:00:46 +03:00
parent e466d252fc
commit 1915198282
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -38,6 +38,9 @@ test:nightly:
test:rustfmt:
image: "rustlang/rust:nightly"
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential
- apt-get install -y libgtk-3-dev
- export PATH="$PATH:$HOME/.cargo/bin"
- which rustfmt || cargo install rustfmt
script:
@ -52,6 +55,9 @@ test:rustfmt:
test:clippy:
image: "rustlang/rust:nightly"
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential
- apt-get install -y libgtk-3-dev
- export PATH="$PATH:$HOME/.cargo/bin"
- which rustfmt || cargo install clippy
script: