Skip to content

Commit

Permalink
fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tiamo committed Jun 28, 2020
1 parent 52b1798 commit 2bdfe55
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
42 changes: 28 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,37 @@
language: php
dist: trusty

sudo: false
branches:
only:
- master
- /[0-9]+\.[0-9]+\.[0-9]+/

cache:
directories:
- $HOME/.composer/cache/

php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

#env:
# matrix:
# - COMPOSER_FLAGS="--prefer-lowest"
# - COMPOSER_FLAGS=""

install:
- travis_retry composer update --no-interaction --no-suggest --prefer-source

before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
- phpenv config-rm xdebug.ini || true

script:
- composer test

#matrix:
# allow_failures:
# - php: nightly
3 changes: 1 addition & 2 deletions src/Sav/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use SPSS\Sav\Record\Header;
use SPSS\Sav\Record\Info;
use SPSS\Sav\Record\ValueLabel;
use SPSS\Sav\Record\Variable;
use SPSS\Utils;

class Reader
Expand All @@ -17,7 +16,7 @@ class Reader
public $header;

/**
* @var Variable[]
* @var Record\Variable[]
*/
public $variables = [];

Expand Down

0 comments on commit 2bdfe55

Please sign in to comment.