Skip to content

Commit 0aaf0bc

Browse files
committed
travis: switch to python 3
Part of #20
1 parent e90cbf2 commit 0aaf0bc

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.travis.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
language: python
2-
python: 2.7
2+
3+
python:
4+
- "3.4"
5+
- "3.5"
6+
- "3.6"
7+
- "3.7"
8+
- "3.8"
9+
- "3.8-dev"
310

411
before_install:
512
- sudo apt update -y
613
- sudo apt-get -y install lua5.1 luarocks
714
- sudo luarocks install luacheck
815

916
install:
10-
- pip install -r requirements.txt
11-
- pip install -r requirements-test.txt
17+
- pip3 install -r requirements.txt
18+
- pip3 install -r requirements-test.txt
1219

1320
script:
1421
- make lint

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ default:
55
lint: flake8 luacheck
66

77
flake8:
8-
python2 -m flake8 *.py lib/*.py
8+
python -m flake8 *.py lib/*.py
99

1010
luacheck:
1111
luacheck --config .luacheckrc .

0 commit comments

Comments
 (0)