From 344577548e1972f38de45b3f62de0346c2138f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Thu, 28 Jan 2021 19:15:58 +0100 Subject: [PATCH] ci: use github actions (#379) --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ .travis.yml | 13 ------------- 2 files changed, 22 insertions(+), 13 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..20436b8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +on: [push, pull_request] + +jobs: + test: + name: Tests + strategy: + matrix: + node: [8.x, 10.x, 12.x, 14.x, 15.x] + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Install Node.js ${{matrix.node}} + uses: actions/setup-node@v2-beta + with: + node-version: ${{matrix.node}} + - name: Install dependencies + run: npm install + - name: npm test + run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1bfb859..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: node_js -node_js: - - "stable" - - "10" - - "9" - - "8" - - "6" - - "4" - - "iojs" - - "0.12" - - "0.10" -matrix: - fast_finish: true