Add env vars to travis

This commit is contained in:
Paul Hauner 2019-04-17 21:57:48 +10:00
parent 2527252248
commit 7b853b33d5
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -6,11 +6,12 @@ before_install:
- sudo mv protoc3/include/* /usr/local/include/
- sudo chown $USER /usr/local/bin/protoc
- sudo chown -R $USER /usr/local/include/google
env:
- BUILD=
- BUILD=--release
script:
- cargo build --verbose --all
- cargo build --verbose --release --all
- cargo test --verbose --all
- cargo test --verbose --release --all
- cargo build --verbose $BUILD --all
- cargo test --verbose $BUILD --all
- cargo test --manifest-path eth2/state_processing/Cargo.toml --verbose --release --features fake_crypto
- cargo fmt --all -- --check
# No clippy until later...