Skip to content

Commit

Permalink
tests: gave up redis, now giving up PHP < 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elhardoum committed Nov 15, 2017
1 parent b41009b commit 46cd280
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 197 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
language: php
php:
- '5.5'
- '5.6'
- '7.0'

before_install:
- composer self-update

install:
- composer install
- composer --working-dir=./tests install --prefer-source --no-interaction
- composer --working-dir=./tests install

script: cd ./tests && vendor/bin/phpspec run -v --format progress
3 changes: 1 addition & 2 deletions tests/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"require": {
"phpspec/phpspec": "^2.4",
"phpspec/nyan-formatters": "^1.0"
"phpspec/phpspec": "^4.2"
},
"autoload": {
"psr-4": {"Nonce\\": "../src/"},
Expand Down
224 changes: 36 additions & 188 deletions tests/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions tests/phpspec.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
suites:
default:
namespace: Nonce
psr4_prefix: Nonce
extensions:
- PhpSpec\NyanFormattersExtension\Extension
formatter.name: nyan.cat
psr4_prefix: Nonce

0 comments on commit 46cd280

Please sign in to comment.