Skip to content

Commit ebe8cce

Browse files
author
Bytekeeper
committed
Merge branch 'travis_sc-docker' into develop
2 parents 60e4a56 + 55cdd4d commit ebe8cce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ python:
44
- "3.6"
55
services:
66
- docker
7+
cache:
8+
directories:
9+
- /tmp/sc-docker
710
before_install:
811
- jdk_switcher use oraclejdk8
912
before_script:
@@ -12,9 +15,11 @@ before_script:
1215
- pushd sc-docker
1316
- python3 setup.py bdist_wheel
1417
- pip3 install dist/scbw*.whl
18+
- if [ -e /tmp/sc-docker/starcraft.zip ]; then cp /tmp/sc-docker/starcraft.zip scbw/local_docker; fi
1519
- cd docker
1620
- ./build_images.sh
1721
- popd
22+
- if [ ! -e /tmp/sc-docker/starcraft.zip ]; then cp sc-docker/scbw/local_docker/starcraft.zip /tmp/sc-docker/starcraft.zip; fi
1823
- scbw.play --install
1924
script:
2025
- sh mvnw clean install

0 commit comments

Comments
 (0)