mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Merge pull request #3267 from danielkesselberg/master
Fix: Cannot find .travis-scripts because wrong working directory
This commit is contained in:
commit
fc35a3dae9
@ -28,6 +28,7 @@ script:
|
||||
- 'cd protected/humhub/tests'
|
||||
- 'php ../../vendor/bin/codecept build'
|
||||
- 'php ../../vendor/bin/codecept run --env travis'
|
||||
- cd ../../../
|
||||
after_failure:
|
||||
- .travis/upload-failure.sh
|
||||
after_success:
|
||||
|
@ -3,9 +3,6 @@
|
||||
# -e = exit when one command returns != 0, -v print each command before executing
|
||||
set -ev
|
||||
|
||||
# change to build directory
|
||||
cd ${TRAVIS_BUILD_DIR}
|
||||
|
||||
# build only when branch master and no pull request
|
||||
if [ ${TRAVIS_BRANCH} = "master" ] && [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
|
||||
|
||||
|
@ -3,8 +3,8 @@
|
||||
# -e = exit when one command returns != 0, -v print each command before executing
|
||||
set -ev
|
||||
|
||||
# change to build directory / protected
|
||||
cd ${TRAVIS_BUILD_DIR}/protected
|
||||
# change to protected directory
|
||||
cd protected
|
||||
|
||||
# find _output folder and add to zip
|
||||
find humhub/ -type d -name "_output" -exec zip -r --exclude="*.gitignore" failure.zip {} +
|
||||
|
Loading…
x
Reference in New Issue
Block a user