From 9a7c89f10f8597c908f2e539d189a1abf9d67620 Mon Sep 17 00:00:00 2001 From: FND Date: Wed, 11 Dec 2019 11:41:29 +0100 Subject: [PATCH] replaced Travis CI with GitHub Actions Travis seems a little flakey lately and is generally less convenient --- .editorconfig | 2 +- .github/workflows/nodejs.yml | 19 +++++++++++++++++++ .travis.yml | 10 ---------- 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/nodejs.yml delete mode 100644 .travis.yml diff --git a/.editorconfig b/.editorconfig index 079a0c1..391bcf3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,7 +11,7 @@ max_line_length = 80 indent_style = tab indent_size = 4 -[*.md] +[*.{md,yml}] indent_style = space [COMMIT_EDITMSG] diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..50c7807 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,19 @@ +name: tests +on: +- push +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: + - 8.x + - 12.x + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install-test + env: + CI: true diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a94bdd..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: node_js -node_js: -- 8 -- 12 - -install: -- npm install - -script: -- npm test