Skip to content

travis: try to fix wasmpack chrome test on macOS#263

Merged
ordian merged 7 commits into
masterfrom
fix-wasmpack-macos
Nov 27, 2019
Merged

travis: try to fix wasmpack chrome test on macOS#263
ordian merged 7 commits into
masterfrom
fix-wasmpack-macos

Conversation

@ordian
Copy link
Copy Markdown
Contributor

@ordian ordian commented Nov 19, 2019

Should fix #226.

@zrzka
Copy link
Copy Markdown
Contributor

zrzka commented Nov 19, 2019

Hmm, doesn't work. That's interesting. I'll check it tomorrow and will let you know, have to go now.

@zrzka
Copy link
Copy Markdown
Contributor

zrzka commented Nov 19, 2019

On mobile, sry for the formatting. I just realized what's missing in the .travis.yml.

addons:
  chrome: stable
  firefox: latest

Copy link
Copy Markdown
Contributor

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look sane to me but I'm not sure how to actually test this. Any hints?

Comment thread .travis.yml Outdated
install:
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | sh
- source ~/.nvm/nvm.sh
- nvm install v10.5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the exact version we require here? It'd be nice to use the latest LTS (v12.13.1) if possible?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v10.5 came here from my copy & paste of the old working .travis.yml. I think it's possible to use the latest LTS (not tested).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try it. :)

Comment thread .travis.yml
Comment thread .travis.yml Outdated
@ordian ordian force-pushed the fix-wasmpack-macos branch from c654740 to 6e3af8e Compare November 26, 2019 10:12
* master:
  kvdb-rocksdb: configurable memory budget per column (#256)
  Bump rlp crate version. (#270)
  Introduce Rlp::at_with_offset method. (#269)
  Make fixed-hash test structs public (#267)
  Migrate primitive types to 2018 edition (#262)
@ordian ordian requested a review from dvdplm November 26, 2019 15:58
Comment thread kvdb-rocksdb/src/lib.rs
} else {
None
})
.and_then(|df_res| if df_res.status.success() { Some(df_res.stdout) } else { None })
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a rustfmt change? I don't mind it, just curious.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, you can see it in the commit cargo fmt, otherwise ci was failing https://travis-ci.org/paritytech/parity-common/jobs/617128841#L217-L248

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(rustfmt was enforced in #266)

Comment thread kvdb-rocksdb/src/lib.rs
initial_file_size: 256 * MB as u64,
block_size: 64 * KB,
}
CompactionProfile { initial_file_size: 256 * MB as u64, block_size: 64 * KB }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a rustfmt change? I preferred the previous version but no big deal.

Comment thread rlp/src/rlpin.rs
'a: 'view,
pub fn at_with_offset<'view>(&'view self, index: usize) -> Result<(Rlp<'a>, usize), DecoderError>
where
'a: 'view,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same. I like this formatting, but it has nothing to do with this PR.

@ordian ordian requested a review from niklasad1 November 27, 2019 13:11
@ordian ordian merged commit 66f84c9 into master Nov 27, 2019
@ordian ordian deleted the fix-wasmpack-macos branch November 27, 2019 15:12
ordian added a commit that referenced this pull request Nov 27, 2019
* master:
  travis: try to fix wasmpack chrome test on macOS (#263)
  Use 2018 edition for rustfmt (#266)
  [fixed-hash]: re-export `alloc_` (#268)
  kvdb-web: async-awaitify (#259)
dvdplm added a commit that referenced this pull request Nov 28, 2019
…h/parity-common into ao-rocksdb-switch-to-upstream2

* 'ao-rocksdb-switch-to-upstream2' of github.com:paritytech/parity-common:
  kvdb-rocksdb: remove lz4 feature as it has no effect for now
  travis: try to fix wasmpack chrome test on macOS (#263)
  kvdb-rocksdb: please the CI
  kvdb-rocksdb: do not account for default column memory budget
  Use 2018 edition for rustfmt (#266)
  [fixed-hash]: re-export `alloc_` (#268)
  kvdb-web: async-awaitify (#259)
dvdplm added a commit that referenced this pull request Dec 10, 2019
* master:
  Compile triehash for no_std (#280)
  [kvdb-rocksdb] Use "pinned" gets to avoid allocations (#274)
  [kvdb-rocksdb] Release 0.2 (#273)
  [kvdb-rocksdb] switch to upstream (#257)
  travis: try to fix wasmpack chrome test on macOS (#263)
  Use 2018 edition for rustfmt (#266)
  [fixed-hash]: re-export `alloc_` (#268)
  kvdb-web: async-awaitify (#259)
  kvdb-rocksdb: configurable memory budget per column (#256)
  Bump rlp crate version. (#270)
  Introduce Rlp::at_with_offset method. (#269)
  Make fixed-hash test structs public (#267)
  Migrate primitive types to 2018 edition (#262)
  upgrade tiny-keccak to 2.0 (#260)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[kvdb-web] enable tests on macOS

4 participants