From bc1f9af3f51d363228f24f3ab6b5b9685fe0f1e4 Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Fri, 29 Jan 2021 11:55:54 -0600 Subject: [PATCH] [CI] Switch to GitHub actions (#1236) (#1245) Co-authored-by: Eric Beahan Co-authored-by: Andrew Stucki --- .github/workflows/test.yml | 19 +++++++++++++++++++ .travis.yml | 29 ----------------------------- 2 files changed, 19 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..0e4a5703f9 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Tests + +on: [push, pull_request] + +jobs: + tests: + runs-on: ubuntu-20.04 + name: Unit Tests + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '^1.13.1' + - uses: actions/setup-python@v2 + with: + python-version: '3.x' + - run: git fetch --prune --unshallow --tags + - run: make setup + - run: make check diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a56a30a073..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -sudo: false - -language: go - -os: -- linux - -dist: bionic - -go: -- 1.13.x - -install: -- git fetch --tags --all -- make setup - -addons: - apt: - update: true - packages: - - libxml2-utils - - python3-venv - - xsltproc - -jobs: - include: - - stage: check - script: - - make check