Skip to content

Commit

Permalink
Make it ⚡️
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHash committed Aug 29, 2020
0 parents commit 5ab1a40
Show file tree
Hide file tree
Showing 28 changed files with 9,363 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitignore
@@ -0,0 +1,19 @@
# composer
composer.phar
/vendor/

# testing artefacts
build/

# general os and editors related stuff
.DS_Store
Thumbs.db
*.sublime-project
*.sublime-workspace
*.tmp
*.bak
*.swp
*~.nib
nbproject/
*.tmproj
.idea
32 changes: 32 additions & 0 deletions .travis.yml
@@ -0,0 +1,32 @@
language: php

php:
- 7.4

os: linux
dist: bionic

env:
global:
CC_TEST_REPORTER_ID=391e60c79df6ccf603dec793feca2fe57ec89ce7cdd7d058389c2a029d978801

install:
- curl -s http://getcomposer.org/installer | php -- --filename=composer
- chmod +x composer
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > cc-test-reporter
- chmod +x cc-test-reporter
- wget -q https://scrutinizer-ci.com/ocular.phar
- composer install --no-interaction

before_script:
- ./cc-test-reporter before-build

script:
- composer build

after_script:
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

after_success:
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 5ab1a40

Please sign in to comment.