Use matrix
authormayeut <mayeut@users.noreply.github.com>
Fri, 9 Oct 2015 21:00:06 +0000 (23:00 +0200)
committermayeut <mayeut@users.noreply.github.com>
Fri, 9 Oct 2015 21:00:06 +0000 (23:00 +0200)
.travis.yml

index a4e66baee0ee4dac2014eddde4b7fadcbfa5eaa2..8fc6169f2724a5f3f6d3bbea9e76f85dcc47e0e2 100644 (file)
@@ -1,11 +1,32 @@
 language: c
-os:
-  - linux
-compiler:
-  - gcc-4.8
-env:
-  - OPJ_CI_ABI_CHECK=1
-  
+
+matrix:
+  include:
+    - os: osx
+      compiler: clang
+      env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release
+    - os: linux
+      compiler: gcc
+      env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release
+    - os: linux
+      compiler: gcc
+      env: OPJ_CI_ARCH=i386 OPJ_CI_BUILD_CONFIGURATION=Release
+    - os: linux
+      compiler: gcc
+      env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Debug
+    - os: linux
+      compiler: clang
+      env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Debug OPJ_CI_ASAN=1
+    - os: linux
+      compiler: x86_64-w64-mingw32-gcc
+      env: OPJ_CI_ARCH=x86_64 OPJ_CI_BUILD_CONFIGURATION=Release
+    - os: linux
+      compiler: x86_64-w64-mingw32-gcc
+      env: OPJ_CI_ARCH=i386 OPJ_CI_BUILD_CONFIGURATION=Release
+    - os: linux
+      compiler: gcc-4.8
+      env: OPJ_CI_ABI_CHECK=1
+
 addons:
   apt:
     sources: