-
Notifications
You must be signed in to change notification settings - Fork 11
Travis ci #18
Conversation
ed95e7c
to
fc3ba7c
Compare
src/tests/mod.rs
Outdated
@@ -135,7 +135,7 @@ fn test_contract_to_eoa_transfer() { | |||
fn test_get_code() { | |||
test_utils::run_test(0, |contract| { | |||
let test_addr = contract.deploy_code(TEST.to_string()); | |||
assert!(contract.get_code(test_addr).len() > 3000); | |||
assert!(contract.get_code(test_addr).len() > 3001); // contract code should roughly be over length 3000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toggled to test build, I can make it 3000 for official mergeable PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wait i don't have to do this anymore!! This was a docker thing 😂
> build/subcontract.abi | ||
> build/SubContract.abi | ||
|
||
rm -rf build/contracts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
built then unused.
No it is not. We still want to leave in the build step so we can be sure we don't introduce changes that break the wasm build, but it can be paralellized |
3f92ad6
to
2bc0072
Compare
A few things going on here:
Took
src/tests/build
out of.gitignore
so the built contracts are included with repo. Setting up an entire node/truffle environment for test contracts that are very unlikely to change much seemed like a lot of overhead for situations with no node/truffle..travis.yml
split into 2 jobs. no node/truffle../build.sh
no longer fails silentlyUpdated rust-toolchain