Skip to content

Commit

Permalink
CI: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jul 31, 2017
1 parent 1f9c69b commit 441077b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ php:
- 7.0
- 7.1
- hhvm
- hhvm-nightly

matrix:
fast_finish: true

allow_failures:
- php: hhvm
- php: hhvm-nightly

include:
- php: 5.6
Expand All @@ -32,20 +30,17 @@ before_script:
# Composer
- travis_retry composer install --no-interaction
# Coverage
- if [[ "$TRAVIS_PHP_VERSION" == "7.0" && "$COMPOSER_FLAG" == "" ]]; then COVERAGE=1; fi
- if [[ "$TRAVIS_PHP_VERSION" == "7.1" && "$COMPOSER_FLAG" == "" ]]; then COVERAGE=1; fi

script:
# Quality Assurance
- composer run-script qa-linter
- composer run-script qa-codesniffer
- travis_retry composer qa

# Nette\Tester
- composer run-script qa-tester-info
- composer run-script qa-tester
- composer run-script tester

# Nette\Tester + CodeCoverage
- if [ "$COVERAGE" != "" ]; then composer run-script qa-tester-coverage-info; fi
- if [ "$COVERAGE" != "" ]; then composer run-script qa-tester-coverage; fi
- if [ "$COVERAGE" != "" ]; then composer tester-coverage; fi

after_script:
# Coverage (Coveralls)
Expand Down

0 comments on commit 441077b

Please sign in to comment.