Skip to content

Commit f1e9670

Browse files
committed
Avoid testing on 2.7
3to2 doesn't work for some reason.
1 parent 0c7966f commit f1e9670

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

‎.travis.yml‎

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
1+
sudo: false
2+
13
language: python
24

35
python:
4-
- "2.7"
56
- "3.2"
67
- "3.3"
78
- "3.4"
89

9-
before_install:
10-
# This is needed for Python multiprocessing (due to 3to2 dependency).
11-
# https://github.com/travis-ci/travis-cookbooks/issues/155
12-
- sudo rm -rf /dev/shm
13-
- sudo ln -s /run/shm /dev/shm
14-
1510
install:
16-
- if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip --quiet install 3to2; fi
1711
- python setup.py --quiet install
1812

1913
script:
20-
- if [ "$TRAVIS_PYTHON_VERSION" != "2.7" ]; then python test.py; fi
21-
22-
- if [ "$TRAVIS_PYTHON_VERSION" != "2.7" ]; then ./run_doctest.py -v README.rst download_lt.py; fi
23-
24-
# Prevent Python 2.7 from using the non-3to2 converted code.
25-
- cd language_check; ../test.bash
14+
- python test.py
15+
- ./run_doctest.py -v README.rst download_lt.py
16+
- ./test.bash
2617

2718
# Smoke test.
2819
- echo 'This is a sentence.' > foo.txt

0 commit comments

Comments
 (0)