Skip to content

Commit 8ea7afa

Browse files
committed
removed travis
1 parent 18154ef commit 8ea7afa

File tree

3 files changed

+43
-24
lines changed

3 files changed

+43
-24
lines changed

.github/workflows/tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
8+
name: PHP ${{ matrix.php }}
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
php: ['7.1', '7.2', '7.3', '7.4']
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v1
19+
20+
- name: Cache composer
21+
uses: actions/cache@v1
22+
with:
23+
path: ~/.composer/cache/files
24+
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
25+
26+
- name: Setup PHP
27+
uses: shivammathur/setup-php@v1
28+
with:
29+
php-version: ${{ matrix.php }}
30+
extension-csv: bcmath, ctype, dom, fileinfo, intl, gd, json, mbstring, pdo, pdo_sqlite, openssl, sqlite, xml, zip
31+
coverage: none
32+
33+
- name: Install composer
34+
run: composer install --no-interaction --no-scripts --no-suggest --prefer-source
35+
36+
- name: Execute tests
37+
run: vendor/bin/phpunit

.travis.yml

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

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Web Application Firewall (WAF) package for Laravel
22

3-
[![Version](https://poser.pugx.org/akaunting/firewall/v/stable.svg)](https://github.com/akaunting/firewall/releases)
4-
![Downloads](https://poser.pugx.org/akaunting/firewall/d/total.svg)
5-
![Build Status](https://travis-ci.com/akaunting/firewall.svg)
6-
[![StyleCI](https://styleci.io/repos/197242392/shield?style=flat&branch=master)](https://styleci.io/repos/197242392)
7-
[![Quality](https://scrutinizer-ci.com/g/akaunting/firewall/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/akaunting/firewall)
8-
[![License](https://poser.pugx.org/akaunting/firewall/license.svg)](LICENSE.md)
3+
[![Version](https://img.shields.io/packagist/v/akaunting/firewall)](https://github.com/akaunting/firewall/releases)
4+
![Downloads](https://img.shields.io/packagist/dt/akaunting/firewall)
5+
![Tests](https://img.shields.io/github/workflow/status/akaunting/firewall/Tests?label=tests)
6+
[![StyleCI](https://github.styleci.io/repos/197242392/shield?style=flat&branch=master)](https://styleci.io/repos/197242392)
7+
[![Quality](https://img.shields.io/scrutinizer/coverage/g/akaunting/firewall?label=quality)](https://scrutinizer-ci.com/g/akaunting/firewall)
8+
[![License](https://img.shields.io/github/license/akaunting/firewall)](LICENSE.md)
99

1010
This package intends to protect your Laravel app from different type of attacks such as XSS, SQLi, RFI, LFI, User Agent, and a lot more. It will also block repeated attacks and send notification via email and/or slack when attack is detected. Furthermore, it will log failed logins and block the IP after a number of attempts.
1111

0 commit comments

Comments
 (0)