File tree Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Expand file tree Collapse file tree 1 file changed +10
-24
lines changed Original file line number Diff line number Diff line change 11language : php
22
3+ branches :
4+ only :
5+ - v1.x
6+
37php :
48 - 5.6
59 - 7.0
610 - 7.1
711 - 7.2
812 - 7.3
13+ - 7.4
914
1015cache :
1116 - npm
1924matrix :
2025 fast_finish : false
2126 include :
22- - php : 7.2
23- env : PHPDOC=3
2427 - php : 7.2
2528 env : DEPLOY_DOCS=true
2629
2730 allow_failures :
28- - php : 7.2
29- env : PHPDOC=3
3031 - php : 5.6
3132 - php : 7.0
33+ - php : 7.4
3234
3335before_install :
3436 # Update composer
@@ -43,31 +45,15 @@ before_install:
4345 - composer global config prefer-stable true
4446 - export PATH="$(composer config -g home)/vendor/bin:$PATH"
4547
46- # Use Nove v8
47- - nvm use v8
48-
49- # Install/update Yarn
50- - curl -o- -L https://yarnpkg.com/install.sh | bash
51- - export PATH=$HOME/.yarn/bin:$PATH
48+ # Use Node 16
49+ - nvm use 16
5250
5351install :
54- - | # phpDocumentor 3-dev
55- if [[ $PHPDOC == '3' ]]; then
56- composer global require phpdocumentor/phpdocumentor:dev-develop
57- composer global require symfony/dotenv
58- fi
59-
6052 - composer install --no-interaction
6153 - npm install
6254
6355script :
64- - |
65- if [[ $PHPDOC == '3' ]]; then
66- phpdoc -d demo/ -t docs/demo/ --force --template=data/templates/vuepress/
67- else
68- composer build:api
69- fi
70-
56+ - composer build:api
7157 - npm run docs:build
7258
7359deploy :
@@ -78,6 +64,6 @@ deploy:
7864 local-dir : dist/phpdoc-vuepress
7965 project-name : " nelson6e65/phpdoc-vuepress [${TRAVIS_COMMIT_RANGE}]"
8066 on :
81- branch : master
67+ branch : v1.x
8268 condition : $DEPLOY_DOCS = true
8369 verbose : true
You can’t perform that action at this time.
0 commit comments