diff options
author | Cody Northrop <cnorthrop@google.com> | 2017-09-08 10:33:53 -0600 |
---|---|---|
committer | Cody Northrop <cnorthrop@google.com> | 2017-09-11 13:42:22 -0600 |
commit | 2ba5768193b84ac5cd072b97b7dd0ed74a96ddc2 (patch) | |
tree | f2bea0e62f9ac2b91941df205b5aa919ae044bfb /.travis.yml | |
parent | 342a870d6f0ba80d969268be3881ec9bb31142dd (diff) | |
download | vulkan-tools-2ba5768193b84ac5cd072b97b7dd0ed74a96ddc2.tar.gz |
scripts: Check toolchain revisions, remove if they differ
This script compares tracked revisions against those under external
and deletes them if they differ.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 709bfd8f..7249da16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -46,6 +46,9 @@ before_install: - if [[ "$VULKAN_BUILD_TARGET" == "ANDROID" ]]; then export JAVA_HOME="/usr/lib/jvm/java-8-oracle"; fi - if [[ "$VULKAN_BUILD_TARGET" == "ANDROID" ]]; then export PATH="$ANDROID_NDK_HOME:$PATH"; fi + # Clear the toolchain contents if revisions have changed + - ./scripts/check_toolchain_revisions.sh + script: - if [[ "$VULKAN_BUILD_TARGET" == "LINUX" ]]; then ./update_external_sources.sh; fi - if [[ "$VULKAN_BUILD_TARGET" == "LINUX" ]]; then cmake -H. -Bdbuild -DCMAKE_BUILD_TYPE=Debug; fi |