Skip to content

Commit 43bad7c

Browse files
committed
Travis: Tore out python3 testing to get CI working again
Temporary solution, python3 will be added back later Travis doesn't recognize version matrices when inside a matrix include job. Instead, it breaks in a way that isn't reported as an error.
1 parent 1079767 commit 43bad7c

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.travis.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
--data @- << DATA\n{
1111
"state": "$0",
1212
"description": "$1",
13-
"context": "travis-ci/$NAME/$(python --version)",
13+
"context": "travis-ci/$NAME",
1414
"target_url": "https://travis-ci.org/$TRAVIS_REPO_SLUG/jobs/$TRAVIS_JOB_ID"
1515
}\nDATA'
1616
@@ -74,10 +74,6 @@ matrix:
7474
7575
- env:
7676
- NAME=tools
77-
python:
78-
- '2.7'
79-
- '3.5'
80-
- '3.6'
8177
install:
8278
# Install dependencies
8379
- sudo apt-get install gcc-arm-embedded
@@ -89,7 +85,7 @@ matrix:
8985
script:
9086
# Run local testing on tools
9187
- PYTHONPATH=. coverage run -a -m pytest tools/test
92-
- python2 tools/test/pylint.py
88+
- python tools/test/pylint.py
9389
- coverage run -a tools/project.py -S | sed -n '/^Total/p'
9490
- coverage html
9591
after_success:
@@ -199,8 +195,3 @@ matrix:
199195
env: NAME=mbed2-NUVOTON
200196
- <<: *mbed-2
201197
env: NAME=mbed2-RENESAS
202-
# Change python version here only because 3x the other jobs does not add any more coverage
203-
python:
204-
- '2.7'
205-
- '3.5'
206-
- '3.6'

0 commit comments

Comments
 (0)