aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ee979af
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,21 @@
+dist: xenial
+language: rust
+services:
+ - docker
+
+rust:
+ - stable
+
+cache: cargo
+
+env:
+ - TARGET=arm-unknown-linux-gnueabihf
+ - TARGET=armv7-unknown-linux-gnueabihf
+ - TARGET=x86_64-unknown-linux-gnu
+
+install:
+ - rustup self update
+ - cargo install cross
+
+script:
+ - cross build --target $TARGET --release