forked from Dentosal/python-sc2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Dentosal#103 from Dentosal/develop
Add already_pending for upgrades Fix cost of zerg structures and building morph cost - this should fix self.can_afford() Add headless linux tests Add comments and mypy type checking Update maps to latest sc2 season mappool Make mass reaper example expand once
- Loading branch information
Showing
25 changed files
with
606 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
language: python | ||
|
||
# sudo false implies containerized builds | ||
sudo: false | ||
sudo: required | ||
|
||
# python 3.7 not yet available on linux | ||
python: | ||
- 3.6 | ||
language: python | ||
|
||
# add the cloned directory to python path | ||
env: PYTHONPATH=$PYTHONPATH:$TRAVIS_BUILD_DIR | ||
services: | ||
- docker | ||
|
||
# install libraries needed to run | ||
install: | ||
- pip install s2clientprotocol async-timeout portpicker websockets aiohttp | ||
before_install: | ||
# Debugging | ||
- echo Current path | ||
- pwd | ||
- echo Project dir contents | ||
- ls | ||
# Build docker image | ||
- docker build -t test_image -f test/Dockerfile . | ||
|
||
# run my unit tests | ||
script: | ||
python test/test_position.py | ||
script: | ||
python test/test_unit.py | ||
script: | ||
python test/test_units.py | ||
# Run tests | ||
- docker run test_image -c "python test/travis_test_script.py test/test_bot.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.