fixed build errors
This commit is contained in:
parent
fb8beeda2d
commit
cc80423466
|
@ -54,7 +54,7 @@ install:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
# Validate if patches work
|
# Validate if patches work
|
||||||
- patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
- ./travis/scripts/patch_sources.sh
|
||||||
# Validate if Google components fetched successfully
|
# Validate if Google components fetched successfully
|
||||||
- ./travis/scripts/test_private_files.sh
|
- ./travis/scripts/test_private_files.sh
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
|
||||||
|
patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
||||||
|
else
|
||||||
|
patch -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
||||||
|
fi
|
Loading…
Reference in New Issue