Skip to content

Commit

Permalink
feat: #19 Simpler travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
KEINOS committed May 9, 2020
1 parent 0dc18f4 commit 772fcc9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
40 changes: 20 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ env:

install: /bin/bash ./.init/setup-composer.sh --dev

php:
# Latest Stable of PHP v7.0 (Deprecated since phpstan/extension-installer supports only ^7.1)
#- 7.0.33
# Default PHP version in macOS HighSierra(10.13.6) and Mojave(10.14.4)
- 7.1.23
# Latest Stable of PHP v7.1
- 7.1.33
# Latest Stable of PHP v7.2
- 7.2.27
# Latest Stable of PHP v7.3
- 7.3.14
# Current Stable @ 20 Feb 2020
# https://www.php.net/downloads.php
- 7.4.3
# latest version of PHP (PHP 8.0.0-dev)
- nightly

script: /bin/bash ./tests/run-tests.sh local all

jobs:
matrix:
include:
# PHP 7.0 support deprecated. phpstan/extension-installer supports only ^7.1
#- php: 7.0
# dist: xenial
- php: 7.1
dist: bionic
# Default PHP version in macOS HighSierra(10.13.6) and Mojave(10.14.4)
- php: 7.1.23
dist: xenial
- php: 7.2
dist: bionic
- php: 7.3
dist: bionic
- php: 7.4
dist: bionic
- php: nightly
dist: bionic
allow_failures:
- php: nightly

script: /bin/bash ./tests/run-tests.sh local all
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![Build Status](https://travis-ci.org/KEINOS/TPL-PHP-HelloWorld.svg?branch=master)](https://travis-ci.org/KEINOS/TPL-PHP-HelloWorld/builds)
[![Coverage Status](https://coveralls.io/repos/github/KEINOS/TPL-PHP-HelloWorld/badge.svg)](https://coveralls.io/github/KEINOS/TPL-PHP-HelloWorld)
[![](https://img.shields.io/scrutinizer/quality/g/KEINOS/TPL-PHP-HelloWorld/master)](https://scrutinizer-ci.com/g/KEINOS/TPL-PHP-HelloWorld/build-status/master "Scrutinizer code quality")
[![](https://img.shields.io/packagist/php-v/keinos/hello-world-tpl)](https://github.com/KEINOS/TPL-PHP-HelloWorld/blob/master/.travis.yml "Version Support")

# Super cautious "Hello-World"

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"bin": ["bin/HelloWorld"],
"require": {
"php": "^8.0.0 || ^7.0",
"php": "^8.0 || ^7.1",
"ext-mbstring": "*"
},
"require-dev": {
Expand Down

0 comments on commit 772fcc9

Please sign in to comment.