From e16dd7206df5453e55583198095367d8674dbeba Mon Sep 17 00:00:00 2001 From: jecaro Date: Fri, 20 Oct 2023 10:38:12 +0200 Subject: [PATCH] replace travis by GitHub actions --- .github/workflows/ci.yml | 9 +++++++++ .travis.yml | 37 ------------------------------------- 2 files changed, 9 insertions(+), 37 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..38c7f9a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,9 @@ +name: "CI" +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: make build + - run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bcd08ba..0000000 --- a/.travis.yml +++ /dev/null @@ -1,37 +0,0 @@ -# Choose a build environment -dist: xenial - -# Do not choose a language; we provide our own build tools. -language: generic - -services: -- docker - -env: -- CACHE_DIR=docker_image - -# Add a simple cache for docker images as explained here -# https://stackoverflow.com/questions/32866599/can-travis-ci-cache-docker-images/41975912 -cache: - directories: - - ${CACHE_DIR} - -before_cache: -- make cache_dir=${CACHE_DIR} save - -jobs: - include: - - - stage: build - script: make build - - - stage: test - before_install: - - make cache_dir=${CACHE_DIR} load - script: make test - - - stage: deploy - before_install: - - make cache_dir=${CACHE_DIR} load - script: make deploy -