From 947ad6692bc2ad06ff270b9c55204c7cb88b8a55 Mon Sep 17 00:00:00 2001 From: James Coglan Date: Tue, 18 May 2021 22:11:31 +0100 Subject: [PATCH] Switch from Travis CI to GitHub Actions --- .github/workflows/test.yml | 41 ++++++++++++++++++++++++++++++++++++++ .travis.yml | 22 -------------------- README.md | 2 +- 3 files changed, 42 insertions(+), 23 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 0000000..7b8b26d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,41 @@ +on: + - push + - pull_request + +jobs: + test: + strategy: + fail-fast: false + matrix: + node: + - '0.8' + - '0.10' + - '0.12' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - '10' + - '11' + - '12' + - '13' + - '14' + - '15' + - '16' + name: node.js v${{ matrix.node }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + + - if: matrix.node == '0.8' + run: npm conf set strict-ssl false + + - run: node --version + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d2f3d82..0000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: node_js -cache: npm - -node_js: - - "0.8" - - "0.10" - - "0.12" - - "4" - - "5" - - "6" - - "7" - - "8" - - "9" - - "10" - - "11" - - "12" - - "13" - - "14" - - "15" - -before_install: - - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@~1.4.0' diff --git a/README.md b/README.md index 975fd72..44e80cc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# permessage-deflate [![Build status](https://secure.travis-ci.org/faye/permessage-deflate-node.svg)](http://travis-ci.org/faye/permessage-deflate-node) +# permessage-deflate Implements the [permessage-deflate](https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression)