Browse Source

travis: use nightly for clippy to avoid messing with env variables

Mokhtar Naamani 4 years ago
parent
commit
f79739329f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .travis.yml

+ 3 - 3
.travis.yml

@@ -73,9 +73,9 @@ script:
       docker cp temp-container-joystream-node:/joystream/runtime.compact.wasm joystream_runtime.wasm
       docker cp temp-container-joystream-node:/joystream/runtime.compact.wasm joystream_runtime.wasm
       docker rm temp-container-joystream-node
       docker rm temp-container-joystream-node
     else
     else
-      BUILD_DUMMY_WASM_BINARY=1 cargo clippy --release --target=${TARGET} -- -D warnings && \
-      BUILD_DUMMY_WASM_BINARY=0 cargo test --release --verbose --all --target=${TARGET} && \
-      WASM_BUILD_TOOLCHAIN=nightly-${NIGHTLY_RELEASE_DATE} cargo build --release --target=${TARGET}
+      cargo +nightly clippy --release --target=${TARGET} -- -D warnings && \
+      cargo +nightly test --release --verbose --all --target=${TARGET} && \
+      cargo +nightly build --release --target=${TARGET}
     fi
     fi
 
 
 before_deploy:
 before_deploy: