Skip to content

Commit

Permalink
intial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
abreksa4 committed Mar 13, 2019
0 parents commit 313e8d4
Show file tree
Hide file tree
Showing 7 changed files with 1,681 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
coverage.xml
vendor/
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Config file for https://travis-ci.org/

language: php

# Define the php versions against we want to test our code
php:
- 7.1
- 7.2

# Note: Code coverage requires php-xDebug extension enabled on CI server

install:
- travis_retry composer install --no-interaction --no-suggest

# Testing the app (see phpunit.xml) for configs, generating Code Coverage report
script:
- composer test -- --coverage-clover=coverage.xml

#after_script:

after_success:
# Submit coverage report to https://codecov.io
- bash <(curl -s https://codecov.io/bash)

#after_failure:

# Monitor only these branches
branches:
only:
- master
- dev

# You can delete the cache using travis-ci web interface
cache:
directories:
- $HOME/.composer/cache
29 changes: 29 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "andrewbreksa/mysql-escape-string-polyfill",
"version": "1.0.0",
"type": "library",
"license": "MIT",
"description": "A mysql_escape_string polyfill",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Andrew Breksa",
"email": "[email protected]"
}
],
"require": {
"php": "^7"
},
"autoload": {
"files": [
"./src/functions.php"
]
},
"require-dev": {
"phpunit/phpunit": "^8.0"
},
"scripts": {
"test": "phpunit"
}
}
Loading

0 comments on commit 313e8d4

Please sign in to comment.