Skip to content

Commit c360730

Browse files
Merge pull request #19 from naufraghi/travis-build
ci: add minimal travis config (build --tests) + fix error in vdom
2 parents 93daccc + 374bb27 commit c360730

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: rust
2+
rust:
3+
- nightly
4+
os:
5+
- linux
6+
- osx
7+
- windows
8+
before_script:
9+
- rustup target add wasm32-unknown-unknown
10+
- cargo install wasm-bindgen-cli
11+
script:
12+
- cargo build --tests --target wasm32-unknown-unknown

src/vdom.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,8 @@ pub mod tests {
521521
use super::*;
522522

523523
use crate as seed; // required for macros to work.
524-
use crate::dom_types::{UpdateListener, UpdateEl};
524+
use crate::dom_types::{UpdateEl};
525+
use crate::{div,li};
525526

526527
fn make_doc() -> web_sys::Document {
527528
let window = web_sys::window().unwrap();

0 commit comments

Comments
 (0)