From f32b6a62aa2850844fbdde994610aee8e2bad1d9 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 7 Nov 2020 20:30:51 -0800 Subject: [PATCH] travis.yml: upgrade to Ubuntu 20.04 and enable cli tests Now that Travis CI supports a version of Ubuntu that has a kernel that supports v2 encryption policies, upgrade to it and enable the cli tests. --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 862e525..6238239 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go sudo: false -dist: bionic +dist: focal arch: - amd64 - ppc64le @@ -66,6 +66,14 @@ jobs: - make coverage.out - goveralls -coverprofile=coverage.out -service=travis-ci + - name: Command-line interface tests + sudo: required + before_install: + - sudo apt-get -y install e2fsprogs expect keyutils + script: + - GO111MODULE=on go get github.com/google/fscrypt/cmd/fscrypt + - make cli-test + - stage: deploy name: Release Binaries install: skip -- 2.39.5