forked from DesertBot/DesertBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
21 lines (21 loc) · 808 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dist: xenial
language: python
python:
- "3.6"
before_install:
- "if [[ -n $encrypted_3e74cccdb852_key || -n $encrypted_3e74cccdb852_iv ]]; then mkdir -p data/servers/localhost && openssl aes-256-cbc -K $encrypted_3e74cccdb852_key -iv $encrypted_3e74cccdb852_iv -in test/api_keys.json.enc -out data/servers/localhost/APIKeys.json -d; fi"
- "sudo apt-get install libre2-dev -y"
install:
- "pip install pyflakes"
- "git clone -b desertbot --single-branch https://github.com/DesertBot/weercd.git"
- "pip install Cython"
- "pip install -r requirements.txt"
cache:
- pip
script:
- pyflakes start.py desertbot/
- python test/comics.py
- python weercd/weercd.py --file test/test_commands.txt -w 10.1 -s 0.25 &
- python start.py -c test/test_config.yaml -l DEBUG
notifications:
email: false