Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c04c96d

Browse files
authored
Update .travis.yml
1 parent d658f9d commit c04c96d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ env:
4343
- NPROC=2
4444
- TEST_ARGS=--no-pep8
4545
- NOSE_ARGS="--processes=$NPROC --process-timeout=300"
46+
- PYTHON_ARGS=
4647

4748
language: python
4849

@@ -51,6 +52,7 @@ matrix:
5152
- python: 2.7
5253
env: MOCK=mock NUMPY=numpy==1.6
5354
- python: 3.4
55+
env: PYTHON_ARGS=-OO
5456
- python: 3.5
5557
env: PANDAS=pandas NOSE_ARGS=--with-coverage
5658
- python: 3.5
@@ -140,7 +142,7 @@ script:
140142
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
141143
python tests.py $NOSE_ARGS $TEST_ARGS
142144
else
143-
gdb -return-child-result -batch -ex r -ex bt --args python tests.py $NOSE_ARGS $TEST_ARGS
145+
gdb -return-child-result -batch -ex r -ex bt --args python $PYTHON_ARGS tests.py $NOSE_ARGS $TEST_ARGS
144146
fi
145147
else
146148
cd doc

0 commit comments

Comments
 (0)