Skip to content

Commit

Permalink
Initial impl
Browse files Browse the repository at this point in the history
  • Loading branch information
kornrunner committed Dec 1, 2017
1 parent 4a76eb0 commit de4c626
Show file tree
Hide file tree
Showing 8 changed files with 2,748 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
service_name: travis-ci
src_dir: .
coverage_clover: build/logs/clover.xml
json_path: coveralls-upload.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ composer.phar
# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
nbproject/
build/
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: php

php:
- 7.1
- nightly

install:
- travis_retry composer self-update
- travis_retry composer install --prefer-dist --dev

script:
- mkdir -p build/logs
- phpunit -c phpunit.xml.dist

after_script:
- php vendor/bin/coveralls -v
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "kornrunner/keccak",
"description": "Pure PHP implementation of Keccak",
"keywords": ["keccak", "sha-3"],
"license": "MIT",
"authors": [
{
"name": "Boris Momcilovic",
"homepage": "https://github.com/kornrunner/php-keccak"
}
],
"require": {
"php": ">=7.1.0"
},
"autoload": {
"psr-4": {
"kornrunner\\": "src"
}
},
"require-dev": {
"phpunit/phpunit": "^6.5",
"satooshi/php-coveralls": "^1.0"
}
}
Loading

0 comments on commit de4c626

Please sign in to comment.