Skip to content

Commit

Permalink
Add build workflow, deprecate travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mnovozhylov committed Oct 11, 2021
1 parent b673581 commit b118687
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 25 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
test:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
php: [ '7.3', '7.4' ]

name: PHP ${{ matrix.python }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP/composer
uses: php-actions/composer@v6
with:
php_version: ${{ matrix.php }}
version: 2
- name: Install dependencies
run: composer install --prefer-dist --dev
- name: Run tests
- run: ./vendor/phpunit/phpunit/phpunit --stderr
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ PHP bindings for Upwork API (OAuth1)
[![License](https://img.shields.io/github/license/upwork/php-upwork)](http://www.apache.org/licenses/LICENSE-2.0.html)
[![Latest Stable Version](https://poser.pugx.org/upwork/php-upwork/v/stable.svg)](https://github.com/upwork/php-upwork/releases)
[![Package version](http://img.shields.io/packagist/v/upwork/php-upwork.svg)](https://packagist.org/packages/upwork/php-upwork)
[![Build status](https://travis-ci.org/upwork/php-upwork.svg)](http://travis-ci.org/upwork/php-upwork)
[![Build status](https://github.com/upwork/php-upwork/workflows/build/badge.svg)](https://github.com/upwork/php-upwork2/actions)
[![Monthly downloads](http://img.shields.io/packagist/dm/upwork/php-upwork.svg)](https://packagist.org/packages/upwork/php-upwork)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/5e7c00ac-ac19-4b77-92ab-e8888a60028e/mini.png)](https://insight.sensiolabs.com/projects/5e7c00ac-ac19-4b77-92ab-e8888a60028e)

# Introduction
This project provides a set of resources of Upwork API from http://developers.upwork.com
Expand Down

0 comments on commit b118687

Please sign in to comment.