diff options
| author | Eric Biggers <ebiggers@google.com> | 2020-11-21 15:29:26 -0800 |
|---|---|---|
| committer | Joseph Richey <joerichey94@gmail.com> | 2020-11-26 01:08:36 -0800 |
| commit | 0692c00a2af75a5ec6c26e58adb37fa152912dce (patch) | |
| tree | f2126bcef80fd3037613069f972447c9e3aceecf /.travis.yml | |
| parent | 7280a5e81ecc1092bcec58e3fb7f494fc6d95dfa (diff) | |
Switch from Travis CI to GitHub Actions
travis-ci.org is being shut down, so switch to GitHub Actions.
It should be mostly equivalent, but I did drop functionality in a couple
cases:
- Publishing release binaries. I don't think providing Linux binaries
is useful, since people build their own anyway. So I left this out.
- Build and testing on ppc64le. GitHub Actions only natively supports
x86. I tried uraimo/run-on-arch-action, which uses Docker and QEMU
user-mode emulation, but the fscrypt tests can't be run because
QEMU user-mode emulation doesn't support all the needed system calls.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6238239..0000000 --- a/.travis.yml +++ /dev/null @@ -1,93 +0,0 @@ -language: go -sudo: false -dist: focal -arch: - - amd64 - - ppc64le -go: 1.13.x - -notifications: - email: false - -stages: - - name: build - if: type = push - - name: presubmits - if: type = pr OR branch = master OR tag IS present - - name: deploy - if: type = push AND tag IS present - -jobs: - include: - - stage: build - install: skip - script: make - - - stage: presubmits - name: Generate, Format, and Lint - before_install: - - sudo apt-get -y install shellcheck - install: - - make tools - script: - - make gen - - bin/files-changed proto - - make format - - bin/files-changed format - - make lint - - - &build - name: Build and Unit Tests - install: skip - script: - - GO111MODULE=on go get github.com/google/fscrypt/cmd/fscrypt - - make - - - <<: *build - go: 1.12.x - - - <<: *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 - install: - - go get -u github.com/mattn/goveralls - - make test-setup - script: - - 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 - script: skip - before_deploy: make - deploy: - - provider: releases - api_key: - secure: BOmjKf9vIb9QwlhDTK09St+Wc9AfMBMBsUnCrjVCvvWwZoYWNIigXheTc5ZqgokqWcDEr3NbytOfKxc5RFxlTMaQoyyC/nABuLxpGocjEkHFQqrYGKfH1swRmvlQndjJr660hqCggPHIw1B2oXE/PD9wLmyno2J70Vp6slTjSbHq1WFHEwtSf6Vm6SMetIWY5Mv/fNIPXJ781Wmx2b1PhWA7HOPoIcMXRwew5aBY7vMIS6P2cDt11Of2kTdWKPpf6SLE6bETgsvJZDpWxb7WWJ0/6NUXtT7q3wkhfgqr3fFZazjInMaWT8VVadiV+gPRyELBYSDsGW8zkBe4NEO45eMOtF3z/1SpYhSFIfK0hGFp0Tt7U4x+dYNBLBZdcd6ZBQug+UYkHPBszmbhyTR9xv6+d4+8ZINsRhoCTXuYuyljuiukUegara8OS5kauAZadUbLeniUEqXal6GjbT//Gq/NidAlXE0U7G69aAlTC2l9PXUdvO1iOFGhkw2aGX5JEoFkRG+mCxqMRIRqDp6qYrvjgELbYabmRrk8zJ/+4ImNkyYoByvcKWP+ULoZlE/8iirZBSV+/z5BAXXaHkg4tmrY/rSejvuSeO122w3roAHPYFZeqhdLDrR0+HrVXtirLK03jU0SM1IOArB4oCOuGuPJndlt7lfVG2Toqvr9ScQ= - file: - - bin/fscrypt - - bin/pam_fscrypt.so - skip_cleanup: true - on: - repo: google/fscrypt - branch: master - tags: true |