diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6657ffa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: "0" + - name: Test + run: ./scripts/docker-ci + + build-and-push: + needs: test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: "0" + - name: Build + run: ./scripts/build + - name: Upload + uses: actions/upload-artifact@v2 + with: + name: rif binary + path: ./build/rif diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 29f6eb6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -script: ./scripts/docker-ci -services: - - docker -sudo: required