Skip to content

Commit

Permalink
Change env dump to precede other build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Jun 15, 2020
1 parent 5bf171f commit b9173d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Install dependencies
run: composer update --no-interaction ${{ matrix.dependencies }}

- name: Dump current environment variables
run: env

- name: Dump current build properties
run: php dump-current.php

Expand All @@ -43,9 +46,6 @@ jobs:
unset GITHUB_ACTIONS
vendor/bin/phpunit --colors=always --coverage-clover build/logs/clover.xml
- name: Dump current environment variables
run: env

# Enable once https://github.com/php-coveralls/php-coveralls/issues/273 is resolved & remove from Travis CI
# - name: Submit coverage to Coveralls
# run: vendor/bin/php-coveralls -v
Expand Down
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ install:
- travis_retry composer update --no-interaction

before_script:
- env # list current environment variables
- php dump-current.php
- unset TRAVIS # Unset the variable to not interfere with tests

Expand All @@ -20,6 +21,3 @@ script:
after_success:
- export TRAVIS=true # Set it back so that php-coveralls properly detects Travis
- travis_retry php vendor/bin/php-coveralls -v

after_script:
- env # list current environment variables

0 comments on commit b9173d9

Please sign in to comment.