Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Travis CI #99

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@
*#

composer.lock
composer-psalm.lock
composer.phar
/vendor
.idea
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

13 changes: 1 addition & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,10 @@
* Ensure your code is nicely formatted in the [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
style and that all tests pass.
* Send the pull request.
* Check that the Travis CI build passed. If not, rinse and repeat. **Note:** This repo uses [Psalm](https://github.com/vimeo/psalm) to statically analyze all the code. Psalm runs on all the builds for PHP 5.5+.

**NOTE:** This repo requires pull-request reviews for all changes on branches bound for production in accordance with Vimeo policy.

## Testing locally
To install Psalm and run the full test suite locally, download [Composer](https://getcomposer.org/) into the repository and then run:

```
make install
make
```

If you use PHP 5.3 or 5.4 locally (which are not supported by the latest version of Psalm), you can skip Psalm by running:

```
make install_no_psalm
make no_psalm
make test
```
28 changes: 0 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# Test

all: with_psalm

no_psalm: style test

with_psalm: style psalm test

style:
vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpcs --standard=PSR2 --error-severity=1 --warning-severity=6 tests

Expand All @@ -14,23 +6,3 @@ test:

psalm:
vendor/bin/psalm

# Install

install: install_with_psalm

install_with_psalm:
COMPOSER=composer-psalm.json php composer.phar install

install_no_psalm:
php composer.phar install

# Update

update: update_with_psalm

update_with_psalm:
COMPOSER=composer-psalm.json php composer.phar update

update_no_psalm:
php composer.phar update
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

**Vindicia driver for the Omnipay PHP payment processing library**

[![Build Status](https://travis-ci.org/vimeo/omnipay-vindicia.png?branch=master)](https://travis-ci.org/vimeo/omnipay-vindicia)
[![Latest Stable Version](https://poser.pugx.org/vimeo/omnipay-vindicia/version.png)](https://packagist.org/packages/vimeo/omnipay-vindicia)
[![Total Downloads](https://poser.pugx.org/vimeo/omnipay-vindicia/d/total.png)](https://packagist.org/packages/vimeo/omnipay-vindicia)

Expand Down
36 changes: 0 additions & 36 deletions composer-psalm.json

This file was deleted.

Loading