aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-06-02 17:09:21 -0700
committerEric Biggers <ebiggers@google.com>2020-06-02 17:50:23 -0700
commit3c15a7a05bd7673d2ca4650dd1525df408d20728 (patch)
tree1a7b493955e91c26812bd049eedbf2b8d0c8c7b1
parente9f3dea860bb314e95bf50a1c88688d4762ad302 (diff)
travis.yml: build 32-bit binary
Don't let people check in code that breaks 32-bit builds. Update https://github.com/google/fscrypt/issues/233
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1a1686d..8cd01d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -46,6 +46,13 @@ jobs:
- <<: *build
go: 1.11.x
+ - name: Build and Unit Tests (32-bit)
+ before_install:
+ - sudo apt-get -y install gcc-multilib libpam0g-dev:i386
+ script:
+ - GO111MODULE=on go get github.com/google/fscrypt/cmd/fscrypt
+ - CGO_ENABLED=1 GOARCH=386 make
+
- name: Integration Tests
sudo: required
before_install: sudo apt-get -y install e2fsprogs