Skip to content

Commit 27c316d

Browse files
committed
🆕 Test for phpDocumentor3(dev) compatibility
1 parent 0c763c9 commit 27c316d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ dist/
66
docs/api/
77
docs/demo/
88
output/
9+
build/

.travis.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,30 @@ matrix:
2020
env: BUILD_DOCS=true
2121

2222
before_install:
23+
# Update composer
24+
- composer self-update
25+
2326
# Setup Git
2427
- git config --global user.email "deploy@travis-ci.org"
2528
- git config --global user.name "Travis CI Bot"
2629

30+
# Setup Composer
31+
- composer global config minimum-stability dev
32+
- composer global config prefer-stable true
33+
- export PATH="$(composer config -g home)/vendor/bin:$PATH"
34+
2735
# Install/update Yarn
2836
- curl -o- -L https://yarnpkg.com/install.sh | bash
2937
- export PATH=$HOME/.yarn/bin:$PATH
3038

31-
before_script:
32-
- composer self-update
39+
install:
40+
- composer global require phpdocumentor/phpdocumentor:dev-develop # phpDocumentor 3-dev
41+
- composer global require symfony/dotenv
3342
- composer install --no-interaction
3443
- yarn
3544

3645
script:
3746
- composer build:api
3847
- yarn docs:build
48+
- phpdoc -d demo/ -t docs/api/ --force --template=data/templates/vuepress/
49+
- yarn docs:build

0 commit comments

Comments
 (0)