Skip to content

Commit

Permalink
Merge branch 'v1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Dec 20, 2017
2 parents 04a4f98 + a1b60e8 commit 507ad8e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 21 deletions.
21 changes: 21 additions & 0 deletions .gitsplit.yml
@@ -0,0 +1,21 @@
cache_dir: "/cache/gitsplit"

splits:
- prefix: "src/Component/Core"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-core.git"
- prefix: "src/Component/Checker"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-checker.git"
- prefix: "src/Component/Signature"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-signature.git"
- prefix: "src/Component/Encryption"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-encryption.git"
- prefix: "src/Component/KeyManagement"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-key-mgmt.git"
- prefix: "src/Component/Console"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-console.git"
- prefix: "src/Bundle/JoseFramework"
target: "https://${GH_TOKEN}@github.com/web-token/jwt-bundle.git"

origins:
- ^master$
- ^v\d+\.\d+\.\d+$
48 changes: 27 additions & 21 deletions .travis.yml
@@ -1,27 +1,33 @@
language: php
sudo: true

sudo: required

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

matrix:
allow_failures:
- php: nightly
fast_finish: true
include:
- php: 7.1
env: deps=low
- php: 7.1
- php: nightly
- php: 7.2
allow_failures:
- php: nightly
fast_finish: true
include:
- php: 7.1
env: deps=low
- php: 7.1
- php: nightly
- php: 7.2

before_script:
- chmod +x ./tests/install_php_ext.sh
- if [ "$TRAVIS_PHP_VERSION" = '7.1' ]; then ./tests/install_php_ext.sh; fi
- composer self-update
- mkdir -p build/logs
- if [[ $deps = low ]]; then composer update --no-interaction --prefer-lowest ; fi
- if [[ !$deps ]]; then composer install --no-interaction ; fi
- chmod +x ./tests/install_php_ext.sh
- if [ "$TRAVIS_PHP_VERSION" = '7.1' ]; then ./tests/install_php_ext.sh; fi
- composer self-update
- mkdir -p build/logs
- if [[ $deps = low ]]; then composer update --no-interaction --prefer-lowest ; fi
- if [[ !$deps ]]; then composer install --no-interaction ; fi

script:
- "./vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_success:
- vendor/bin/coveralls --no-interaction
- ./vendor/bin/coveralls --no-interaction

0 comments on commit 507ad8e

Please sign in to comment.