Skip to content

Commit

Permalink
Removed PHP version duplication from Travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Jan 15, 2017
1 parent c13768c commit 7e15a50
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- hhvm
- nightly

env:
matrix:
- DEPENDENCIES=
- DEPENDENCIES=--prefer-lowest

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

matrix:
include:
- php: 5.6
- php: 5.6
env: DEPENDENCIES='low'
- php: 7.0
- php: 7.0
env: DEPENDENCIES='low'
- php: 7.1
- php: 7.1
env: DEPENDENCIES='low'
- php: hhvm
- php: hhvm
env: DEPENDENCIES='low'
- php: nightly
- php: nightly
env: DEPENDENCIES='low'
fast_finish: true

before_install:
- alias composer=composer\ --no-interaction && composer selfupdate
- composer global require hirak/prestissimo

install:
- >
travis_retry composer update --no-progress --profile --no-scripts
$([[ $DEPENDENCIES = low ]] && echo --prefer-lowest)
- travis_retry composer update --no-progress --profile --no-scripts $DEPENDENCIES

script:
- bin/grumphp run
Expand Down

0 comments on commit 7e15a50

Please sign in to comment.