Skip to content

Commit c5b1cd4

Browse files
authored
Replace Travis by Github Actions (#2)
* Create main.yml * Delete .travis.yml * Update readme.md * Update composer.json * Update composer.json * Update main.yml * Update main.yml * Update main.yml * Update composer.json * Update main.yml * Update composer.json * Update main.yml
1 parent 486f21e commit c5b1cd4

File tree

4 files changed

+34
-23
lines changed

4 files changed

+34
-23
lines changed

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v2
19+
with:
20+
php-version: ${{ matrix.php }}
21+
coverage: none
22+
23+
- name: Validate composer.json and composer.lock
24+
run: composer validate
25+
26+
- name: Install dependencies
27+
run: |
28+
composer require phpunit/phpunit "<=8.5.2" --no-update --ignore-platform-reqs
29+
composer install --prefer-dist --no-progress --no-interaction --no-suggest
30+
31+
- name: Run test suite
32+
run: php vendor/bin/codecept run

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@
1111
}
1212
],
1313
"minimum-stability": "RC",
14-
1514
"require": {
1615
"php": ">=5.6.0 <8.0",
1716
"ext-dom": "*",
18-
"codeception/codeception": "4.0.x-dev | ^4.0",
17+
"codeception/codeception": "^4.0",
1918
"codeception/lib-innerbrowser": "^1.0"
2019
},
2120
"require-dev": {

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Soap module for Codeception
22

3-
[![Build Status](https://travis-ci.org/Codeception/module-soap.svg?branch=master)](https://travis-ci.org/Codeception/module-soap)
3+
![Build Status](https://github.com/Codeception/module-soap/workflows/CI/badge.svg)
44

55
## Installation
66

0 commit comments

Comments
 (0)