t/zbd: Support testing zone capacity smaller than zone size with null_blk
[fio.git] / .travis.yml
index 9bef750f8a61535b30d1064e221d633fe9ae42e8..b64f0a958bbc418212e351e8bec4531c8e4ea18b 100644 (file)
@@ -1,7 +1,45 @@
 language: c
+dist: bionic
+os:
+  - linux
 compiler:
   - clang
   - gcc
+arch:
+  - amd64
+  - arm64
+env:
+  matrix:
+    - BUILD_ARCH="x86"
+    - BUILD_ARCH="x86_64"
+  global:
+    - MAKEFLAGS="-j 2"
+matrix:
+  include:
+    # Default xcode image
+    - os: osx
+      compiler: clang # Workaround travis setting CC=["clang", "gcc"]
+      env: BUILD_ARCH="x86_64"
+      arch: amd64
+    # Latest xcode image (needs periodic updating)
+    - os: osx
+      compiler: clang
+      osx_image: xcode11.2
+      env: BUILD_ARCH="x86_64"
+      arch: amd64
+  exclude:
+    - os: osx
+      compiler: gcc
+    - os: linux
+      compiler: clang
+      arch: amd64
+      env: BUILD_ARCH="x86" # Only do the gcc x86 build to reduce clutter
+    - os: linux
+      env: BUILD_ARCH="x86"
+      arch: arm64
+
 before_install:
-  - sudo apt-get -qq update
-  - sudo apt-get install -y libaio-dev libnuma-dev
+  - ci/travis-install.sh
+
+script:
+  - ci/travis-build.sh