Skip to content

Commit 761bff3

Browse files
author
Bytekeeper
committed
More info
1 parent ebe8cce commit 761bff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ before_script:
1515
- pushd sc-docker
1616
- python3 setup.py bdist_wheel
1717
- pip3 install dist/scbw*.whl
18-
- if [ -e /tmp/sc-docker/starcraft.zip ]; then cp /tmp/sc-docker/starcraft.zip scbw/local_docker; fi
18+
- '[ -f /tmp/sc-docker/starcraft.zip ] && (cp /tmp/sc-docker/starcraft.zip scbw/local_docker && echo "Using cached starcraft.zip")'
1919
- cd docker
2020
- ./build_images.sh
2121
- popd
22-
- if [ ! -e /tmp/sc-docker/starcraft.zip ]; then cp sc-docker/scbw/local_docker/starcraft.zip /tmp/sc-docker/starcraft.zip; fi
22+
- "[ -f /tmp/sc-docker/starcraft.zip ] || cp sc-docker/scbw/local_docker/starcraft.zip /tmp/sc-docker/starcraft.zip"
2323
- scbw.play --install
2424
script:
2525
- sh mvnw clean install

0 commit comments

Comments
 (0)