Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
optimize build
Browse files Browse the repository at this point in the history
  • Loading branch information
ewilz committed Jun 6, 2020
1 parent a4537bb commit 8de8bd8
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
language: rust
rust:
- stable
cache:
directories:
- ./target
- /home/travis/.cargo
before_install:
- rustup target add wasm32-unknown-unknown --toolchain stable
install:
- cargo +stable build --target wasm32-unknown-unknown --release # ./build.sh needs target/wasm32-unknown-unknown/release/near_evm.wasm
script:
- ./build.sh
- cargo test --lib
matrix:
include:
- language: rust
rust: stable
cache:
directories:
- ./target
- /home/travis/.cargo
script:
- cargo test --lib

- language: rust
rust: stable
cache:
directories:
- ./target
- /home/travis/.cargo
before_install:
- rustup target add wasm32-unknown-unknown --toolchain stable
install:
- cargo +stable build --target wasm32-unknown-unknown --release # ./build.sh needs target/wasm32-unknown-unknown/release/near_evm.wasm
script:
- ./build.sh

0 comments on commit 8de8bd8

Please sign in to comment.