Skip to content

Commit 5961a54

Browse files
committed
Run Travis CI against newer Python versions
1 parent 24be4eb commit 5961a54

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.travis.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cache:
1414

1515
jobs:
1616
include:
17-
- python: "2.6"
17+
- python: "2.7"
1818
before_script: &install_deps
1919
- export CACHE_DIR="$HOME/cache"
2020
- export CFLAGS="-I$CACHE_DIR/usr/include -fprofile-arcs -ftest-coverage"
@@ -23,21 +23,19 @@ jobs:
2323
- export PKG_CONFIG_PATH="$CACHE_DIR/usr/lib/pkgconfig"
2424
- tools/install-deps.sh > /dev/null
2525
if: type IN (push, api, cron)
26-
- python: "2.7"
27-
before_script: *install_deps
28-
- python: "3.2"
26+
- python: "3.4"
2927
before_script: *install_deps
3028
if: type IN (push, api, cron)
31-
- python: "3.3"
29+
- python: "3.5"
3230
before_script: *install_deps
3331
if: type IN (push, api, cron)
34-
- python: "3.4"
32+
- python: "3.6"
3533
before_script: *install_deps
3634
if: type IN (push, api, cron)
37-
- python: "3.5"
35+
- python: "3.7"
3836
before_script: *install_deps
3937
if: type IN (push, api, cron)
40-
- python: "3.6"
38+
- python: "3.8"
4139
before_script: *install_deps
4240
install: pip install ndg-httpsclient urllib3[secure] cpp-coveralls
4341
after_script: coveralls
@@ -50,8 +48,8 @@ jobs:
5048
- mkdir -p _install/tox
5149
- cp c-toxcore/toxav/toxav.h c-toxcore/toxcore/tox.h c-toxcore/toxencryptsave/toxencryptsave.h _install/tox/
5250
script:
53-
- clang -fsyntax-only pytox/*.c -I/opt/python/3.6.3/include/python3.6m -I_install -Werror -Weverything -Wno-reserved-id-macro -Wno-documentation-deprecated-sync -Wno-shorten-64-to-32 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-conversion -Wno-padded -Wno-conversion
54-
- clang --analyze pytox/*.c -I/opt/python/3.6.3/include/python3.6m -I_install
51+
- clang -fsyntax-only pytox/*.c -I/opt/python/3.6.7/include/python3.6m -I_install -Werror -Weverything -Wno-reserved-id-macro -Wno-documentation-deprecated-sync -Wno-shorten-64-to-32 -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-conversion -Wno-padded -Wno-conversion
52+
- clang --analyze pytox/*.c -I/opt/python/3.6.7/include/python3.6m -I_install
5553
- language: generic
5654
services: docker
5755
script: docker build -t pytox .

0 commit comments

Comments
 (0)