-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/FAForever/QAI
- Loading branch information
Showing
7 changed files
with
40 additions
and
12 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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM python:3.5 | ||
|
||
RUN pip install --upgrade pip | ||
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
COPY requirements.txt /tmp/requirements.txt | ||
|
||
RUN pip install --upgrade --trusted-host content.dev.faforever.com -r /tmp/requirements.txt | ||
|
||
ADD . /code/ | ||
WORKDIR /code/ | ||
|
||
VOLUME /config | ||
|
||
# irc3 searches for the plugin files in the folder of the configuration file | ||
CMD cp /config/config.ini ./config.ini && irc3 config.ini |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
aiohttp | ||
aiomysql | ||
configobj | ||
irc3 | ||
pytest | ||
slackclient | ||
websockets | ||
aiohttp==2.0.7 | ||
irc3==1.0.0 | ||
pytest==3.0.7 | ||
slackclient==1.0.5 |
Empty file.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from links import LINKS, LINKS_SYNONYMES, WIKI_LINKS, WIKI_LINKS_SYNONYMES, OTHER_LINKS | ||
|
||
|
||
def test_existance(): | ||
assert isinstance(LINKS, dict) | ||
assert isinstance(LINKS_SYNONYMES, dict) | ||
assert isinstance(WIKI_LINKS, dict) | ||
assert isinstance(WIKI_LINKS_SYNONYMES, dict) | ||
assert isinstance(OTHER_LINKS, dict) |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from taunts import TAUNTS, SPAM_PROTECT_TAUNTS, KICK_TAUNTS | ||
|
||
|
||
def test_existance(): | ||
assert isinstance(TAUNTS, list) | ||
assert isinstance(SPAM_PROTECT_TAUNTS, list) | ||
assert isinstance(KICK_TAUNTS, list) |