Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NNTin committed Jan 26, 2019
1 parent e4a4afc commit 537058f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
language: python
python:
- "3.6.0"
- "3.6.1"
- "3.6.2"
- "3.6.3"
- "3.6.4"
- "3.6.5"
- "3.6.6"
- "3.6.7"

install:
- pip install -r requirements.txt
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This will create a data.json and the bot will ignore any set environment variabl

(**Warning:** This is only recommended for experienced users who have some basic experience with CLI.)

Get Python >=3.5.3, <3.7
Get Python >=3.6.0, <3.7.0

```coffeescript
git clone https://github.com/NNTin/discord-twitter-bot.git
Expand Down
4 changes: 2 additions & 2 deletions tests/test_python/test_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def test_python(self):
def get_python_version():
return ".".join(map(str, sys.version_info[:3]))

python_ok = (3, 7) > sys.version_info >= (3, 5, 3)
python_ok = (3, 7) > sys.version_info >= (3, 6, 0)

self.assertTrue(python_ok,
'discord-twitter-bot needs Python >=3.5.3, <3.7. You are using: ' + get_python_version())
'discord-twitter-bot needs Python >=3.6.0, <3.7. You are using: ' + get_python_version())

0 comments on commit 537058f

Please sign in to comment.