1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(CI): cache whole directory instead of globbing

This commit is contained in:
sudden6 2018-01-10 00:14:10 +01:00
parent 576fb983b8
commit 27d04daff5
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -9,13 +9,14 @@ machine:
BTYPE__: "release"
dependencies:
cache_directories:
- "~/cache/*"
- "~/cache"
pre:
- sudo apt-get update
- sudo apt-get install zip
- docker info
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage1
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage2
- ls -al ~/cache
compile:
override:
- ./.travis/build-windows.sh "$BUILD__" "$BTYPE__" ~/cache/"$BUILD__" stage3