diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9f90e38 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,15 @@ +on: push +name: Run tests +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + node: [4, 12] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - run: npm install + - run: npm test diff --git a/.travis.yml b/.travis.yml deleted file mode 100755 index 9a35203..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - 4.0 - - 12 - -script: - - npm test diff --git a/README.md b/README.md index 0db2a89..2215360 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # gulp-ttf2woff2 > Create a WOFF2 font from a TTF font with [Gulp](http://gulpjs.com/). -[![NPM version](https://badge.fury.io/js/gulp-ttf2woff2.svg)](https://npmjs.org/package/gulp-ttf2woff2) [![Build status](https://secure.travis-ci.org/nfroidure/gulp-ttf2woff2.svg)](https://travis-ci.org/nfroidure/gulp-ttf2woff2) [![Dependency Status](https://david-dm.org/nfroidure/gulp-ttf2woff2.svg)](https://david-dm.org/nfroidure/gulp-ttf2woff2) [![devDependency Status](https://david-dm.org/nfroidure/gulp-ttf2woff2/dev-status.svg)](https://david-dm.org/nfroidure/gulp-ttf2woff2#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/gulp-ttf2woff2/badge.svg?branch=master)](https://coveralls.io/r/nfroidure/gulp-ttf2woff2?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/gulp-ttf2woff2.svg)](https://codeclimate.com/github/nfroidure/gulp-ttf2woff2) +[![NPM version](https://badge.fury.io/js/gulp-ttf2woff2.svg)](https://npmjs.org/package/gulp-ttf2woff2) [![Run test](https://github.com/nfroidure/gulp-ttf2woff2/workflows/Run%20tests/badge.svg)](https://github.com/nfroidure/gulp-ttf2woff2/actions) [![Dependency Status](https://david-dm.org/nfroidure/gulp-ttf2woff2.svg)](https://david-dm.org/nfroidure/gulp-ttf2woff2) [![devDependency Status](https://david-dm.org/nfroidure/gulp-ttf2woff2/dev-status.svg)](https://david-dm.org/nfroidure/gulp-ttf2woff2#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/gulp-ttf2woff2/badge.svg?branch=master)](https://coveralls.io/r/nfroidure/gulp-ttf2woff2?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/gulp-ttf2woff2.svg)](https://codeclimate.com/github/nfroidure/gulp-ttf2woff2) ## Usage