File tree Expand file tree Collapse file tree 2 files changed +59
-21
lines changed Expand file tree Collapse file tree 2 files changed +59
-21
lines changed Original file line number Diff line number Diff line change
1
+ cache_dir : " /cache/gitsplit"
2
+
3
+ splits :
4
+ - prefix : " src/Component/Core"
5
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-core.git"
6
+ - prefix : " src/Component/Checker"
7
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-checker.git"
8
+ - prefix : " src/Component/Signature"
9
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-signature.git"
10
+ - prefix : " src/Component/Encryption"
11
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-encryption.git"
12
+ - prefix : " src/Component/KeyManagement"
13
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-key-mgmt.git"
14
+ - prefix : " src/Component/Console"
15
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-console.git"
16
+ - prefix : " src/Bundle/JoseFramework"
17
+ target : " https://${GH_TOKEN}@github.com:web-token/jwt-bundle.git"
18
+
19
+ origins :
20
+ - " ^master$"
21
+ - " ^v\d +\.\d +\.\d +$"
Original file line number Diff line number Diff line change 1
1
language : php
2
- sudo : true
2
+
3
+ sudo : required
4
+
5
+ services :
6
+ - docker
7
+
3
8
cache :
4
- directories :
5
- - " $HOME/.composer/cache"
6
- - vendor
9
+ directories :
10
+ - " $HOME/.composer/cache"
11
+ - " vendor"
12
+ - " /cache/gitsplit"
13
+
7
14
matrix :
8
- allow_failures :
9
- - php : nightly
10
- fast_finish : true
11
- include :
12
- - php : 7.1
13
- env : deps=low
14
- - php : 7.1
15
- - php : nightly
16
- - php : 7.2
15
+ allow_failures :
16
+ - php : nightly
17
+ fast_finish : true
18
+ include :
19
+ - php : 7.1
20
+ env : deps=low
21
+ - php : 7.1
22
+ - php : nightly
23
+ - php : 7.2
24
+
25
+ install :
26
+ - docker pull jderusse/gitsplit
27
+ - git config remote.origin.fetch "+refs/*:refs/*"
28
+ - git config remote.origin.mirror true
29
+ - git fetch --unshallow
30
+
17
31
before_script :
18
- - chmod +x ./tests/install_php_ext.sh
19
- - if [ "$TRAVIS_PHP_VERSION" = '7.1' ]; then ./tests/install_php_ext.sh; fi
20
- - composer self-update
21
- - mkdir -p build/logs
22
- - if [[ $deps = low ]]; then composer update --no-interaction --prefer-lowest ; fi
23
- - if [[ !$deps ]]; then composer install --no-interaction ; fi
32
+ - chmod +x ./tests/install_php_ext.sh
33
+ - if [ "$TRAVIS_PHP_VERSION" = '7.1' ]; then ./tests/install_php_ext.sh; fi
34
+ - composer self-update
35
+ - mkdir -p build/logs
36
+ - if [[ $deps = low ]]; then composer update --no-interaction --prefer-lowest ; fi
37
+ - if [[ !$deps ]]; then composer install --no-interaction ; fi
38
+
24
39
script :
25
- - " ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
40
+ - docker run --rm -t -e GH_TOKEN -v /cache/gitsplit:/cache/gitsplit -v ${PWD}:/srv jderusse/gitsplit
41
+ - " ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
42
+
26
43
after_success :
27
- - vendor/bin/coveralls --no-interaction
44
+ - vendor/bin/coveralls --no-interaction
You can’t perform that action at this time.
0 commit comments