Skip to content

Commit

Permalink
update composer
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukáš Hrdlička authored and Lukáš Hrdlička committed Nov 4, 2020
1 parent 8de68ee commit 4953521
Show file tree
Hide file tree
Showing 7 changed files with 2,208 additions and 18 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ protected/runtime/*
protected/data/*.db
themes/classic/views/
/nbproject/*
phpunit.xml
vendor/*
.idea/
composer.lock
.idea/
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include:
- project: 'devops/gitlab/pipelines'
file: 'templates/php-package-template.yml'
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ echo StringHelper::contains('is', 'This is test string'); // 1
```

## Tests

change `phpunit.xml.dist` to `phpunit.xml` and run

```
./vendor/bin/phpunit -c phpunit.xml
./vendor/bin/phpunit
```
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"email": "lukas.mestan@hyperia.sk"
}
],
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"require": {
"yiisoft/yii2": "*"
},
Expand Down
Loading

0 comments on commit 4953521

Please sign in to comment.