Skip to content

Commit 7427ff0

Browse files
committed
Travis CI now supports Python 3.4
1 parent 4f4f025 commit 7427ff0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ python:
77
- 2.6
88
- 2.7
99
- 3.3
10-
# FIXME: uncomment the following line when Travis CI supports Python 3.4
11-
# https://github.com/travis-ci/travis-ci/issues/1989
12-
#- 3.4
10+
- 3.4
1311
install:
1412
- pip install -e . "Werkzeug >= 0.9"
1513
script:

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@ def spawn(self, cmd):
6666
flags = ['-I' + os.path.abspath('win32')]
6767
link_flags = []
6868
else:
69-
flags = ['-fPIC', '-Wall', '-Wno-parentheses',
70-
'-Wno-error=unused-command-line-argument-hard-error-in-future']
69+
flags = ['-fPIC', '-Wall', '-Wno-parentheses']
70+
if sys.platform == 'darwin':
71+
flags.append(
72+
'-Wno-error=unused-command-line-argument-hard-error-in-future'
73+
)
7174
link_flags = ['-fPIC', '-lstdc++']
7275

7376
sass_extension = Extension(

0 commit comments

Comments
 (0)