Skip to content

Commit

Permalink
Fix travis (yewstack#711)
Browse files Browse the repository at this point in the history
* Rework travis cache and fix cargo-update

* Split examples out of main workspace
  • Loading branch information
jstarry authored and hgzimmerman committed Oct 14, 2019
1 parent e6060a5 commit c0a1e30
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 30 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ sudo: false
addons:
chrome: stable

cache:
timeout: 1000
directories:
- $HOME/.cargo
- $HOME/.nvm
- $HOME/.rustup
- $HOME/.local/share/cargo-web/emscripten
cache: cargo

rust:
- 1.35.0 # min supported
Expand All @@ -34,7 +28,7 @@ install:
- nvm install 9
- rustup component add rustfmt
- rustup target add wasm32-unknown-unknown
- cargo install cargo-update
- cargo install cargo-update || true
- cargo install-update-config --version =0.2.50 wasm-bindgen-cli
- cargo install-update wasm-bindgen-cli
- curl --retry 5 -LO https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
Expand Down
22 changes: 0 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,26 +62,4 @@ cbor = ["serde_cbor"]
[workspace]
members = [
"crates/macro",
"examples/counter",
"examples/crm",
"examples/custom_components",
"examples/dashboard",
"examples/file_upload",
"examples/fragments",
"examples/game_of_life",
"examples/inner_html",
"examples/js_callback",
"examples/large_table",
"examples/minimal",
"examples/mount_point",
"examples/multi_thread",
"examples/nested_list",
"examples/npm_and_rest",
"examples/routing",
"examples/server",
"examples/showcase",
"examples/textarea",
"examples/timer",
"examples/todomvc",
"examples/two_apps",
]
25 changes: 25 additions & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[workspace]
members = [
"counter",
"crm",
"custom_components",
"dashboard",
"file_upload",
"fragments",
"game_of_life",
"inner_html",
"js_callback",
"large_table",
"minimal",
"mount_point",
"multi_thread",
"nested_list",
"npm_and_rest",
"routing",
"server",
"showcase",
"textarea",
"timer",
"todomvc",
"two_apps",
]

0 comments on commit c0a1e30

Please sign in to comment.