Skip to content

Commit

Permalink
Merge pull request #6 from PlanetHoster/circleci-project-setup
Browse files Browse the repository at this point in the history
Circleci project setup
  • Loading branch information
n0cloud authored Sep 23, 2022
2 parents c529da4 + 4a54c4d commit 1782763
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 159 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2.1

jobs:
phpspec:
parameters:
php-version:
type: string
docker:
- image: cimg/php:<< parameters.php-version >>
steps:
- checkout
- run: composer install --no-interaction --prefer-source
- run: php vendor/bin/phpspec run -fpretty

workflows:
phpspec-workflow:
jobs:
- phpspec:
matrix:
parameters:
php-version: ["7.3", "7.4", "8.0", "8.1"]
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"keywords": ["PlanetHoster", "API", "Domain", "Hosting"],
"homepage": "https://github.com/PlanetHoster/planethoster-php",
"require": {
"php": "^7.2 || 8.0.*",
"guzzlehttp/guzzle": "^7.4.1"
"php": ">=7.3",
"guzzlehttp/guzzle": "~7.4.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 1782763

Please sign in to comment.