Skip to content

Commit

Permalink
Fix Update API TravisCI job
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Dec 2, 2019
1 parent 057ea44 commit d56c33b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -26,7 +26,7 @@ jobs:

include:
- stage: Static code analysis
name: Test coding style
name: Check coding style
php: "7.2"
install: ./.travis/install-codingstyle.sh
script: composer --no-interaction run-script cs -- fix --no-interaction --dry-run --diff --using-cache=no -v --config=.php_cs.dist
Expand Down Expand Up @@ -95,10 +95,10 @@ jobs:
install: ./.travis/install-tests.sh assume-php 7.4
script: composer --no-interaction run-script test

- stage: Update docs
name: Update API
- stage: Deploy
name: Update API docs
if: branch = master AND type = push
php: "7.3"
php: "7.1"
git:
depth: false
env:
Expand Down
2 changes: 1 addition & 1 deletion .travis/update-api.sh
Expand Up @@ -3,7 +3,7 @@
set -o errexit
set -o nounset

cd "$( dirname "${BASH_SOURCE[0]}" )/..docs"
cd "$( dirname "${BASH_SOURCE[0]}" )/../docs"

echo '### GENERATING NEW API DOCS'

Expand Down

0 comments on commit d56c33b

Please sign in to comment.