Commit 48d16ae0f154aecda6eca33343b85688e7e812c3

Pali Rohár 2020-08-26T19:27:28

Add Travis CI testing

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3205fa9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: c
+
+compiler:
+  - i686-w64-mingw32-gcc
+  - x86_64-w64-mingw32-gcc
+
+addons:
+  apt:
+    packages:
+      - gcc-mingw-w64
+      - wine
+
+script:
+  - ./configure --enable-shared --enable-static --enable-wine --cross-prefix=${CC%-*}-
+  - make
+  - make test