diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml new file mode 100644 index 0000000..419b38c --- /dev/null +++ b/.github/workflows/master.yaml @@ -0,0 +1,24 @@ +name: master + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install + run: make install + + - name: Check lint + run: make lint + + - name: Execute tests + run: make test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3e38a05..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: php -php: - - '7.0' - -install: - - composer self-update - - make install - -script: make lint test diff --git a/README.md b/README.md index 4a8f29f..cd43ce1 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,5 @@ # php-pairs -[![Build Status](https://travis-ci.org/hexlet-components/php-pairs.svg?branch=master)](https://travis-ci.org/hexlet-components/php-pairs) -[![Code Climate](https://codeclimate.com/github/hexlet-components/php-pairs/badges/gpa.svg)](https://codeclimate.com/github/hexlet-components/php-pairs) -[![Issue Count](https://codeclimate.com/github/hexlet-components/php-pairs/badges/issue_count.svg)](https://codeclimate.com/github/hexlet-components/php-pairs) ```sh $ composer require hexlet/pairs