Skip to content
Permalink
Browse files

Remove apigen dev dependency.

  • Loading branch information...
nielssp committed Jan 20, 2016
1 parent 8805630 commit 8f920f01c25e9c27f1d8f4c5bffaa46b9df85f31
Showing with 15 additions and 8 deletions.
  1. +14 −6 .travis.yml
  2. +1 −2 composer.json
@@ -6,19 +6,27 @@ php:
- 7.0
- hhvm

matrix:
include:
- php: 7.0
env: COVERALLS=1

- php: 7.0
env: PHPCS=1


before_script:
- composer self-update
- composer install --prefer-dist --no-interaction

- composer require --dev satooshi/php-coveralls:dev-master
- mkdir -p build/logs
- if [[ "$COVERALLS" != "1" ]]; then composer require --dev satooshi/php-coveralls:dev-master; fi
- if [[ "$COVERALLS" != "1" ]]; then mkdir -p build/logs; fi

- phpenv rehash

script:
- vendor/bin/phpcs -p --standard=PSR2 ./src ./tests

- phpunit
- if [[ "$PHPCS" == "1" ]]; then vendor/bin/phpcs -p --standard=PSR2 ./src ./tests; fi

- vendor/bin/coveralls -v
- if [[ "$COVERALLS" != "1" ]]; then phpunit; fi
- if [[ "$COVERALLS" == "1" ]]; then phpunit; fi
- if [[ "$COVERALLS" == "1" ]]; then vendor/bin/coveralls -v; fi
@@ -24,7 +24,6 @@
},
"require-dev": {
"phpunit/phpunit": "^4.0",
"squizlabs/php_codesniffer": "2.*",
"apigen/apigen": "dev-master"
"squizlabs/php_codesniffer": "2.*"
}
}

0 comments on commit 8f920f0

Please sign in to comment.
You can’t perform that action at this time.