Mokhtar Naamani 5 years ago
parent
commit
e46109f2f0
2 changed files with 16 additions and 1 deletions
  1. 1 1
      .gitignore
  2. 15 0
      .travis.yml

+ 1 - 1
.gitignore

@@ -3,7 +3,7 @@
 **/target/
 
 # Cargo lock file for native runtime - only used for cargo test
-./Cargo.lock
+Cargo.lock
 
 # These are backup files generated by rustfmt
 **/*.rs.bk

+ 15 - 0
.travis.yml

@@ -0,0 +1,15 @@
+language: rust
+
+rust:
+  - 1.41.1
+
+cache:
+  - cargo
+
+before_script:
+  - rustup component add rustfmt
+
+script:
+  - cargo fmt --all -- --check
+  - cargo test --verbose --all
+