Skip to content
Myr

number of cores for travis

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent c3a0077 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:setup.py+2 added-1 removed
6 unmodified lines
7from codecs import open89from setuptools import setup10from setuptools.command.test import test as TestCommand11from multiprocessing import cpu_count1213here = os.path.abspath(os.path.dirname(__file__))1415class PyTest(TestCommand):16 user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]1718 def initialize_options(self):19 TestCommand.initialize_options(self)19 self.pytest_args = ['-n', '8', '--boxed']20 self.pytest_args = ['-n', str(cpu_count()), '--boxed']2122 def finalize_options(self):23 TestCommand.finalize_options(self)24 self.test_args = []
74 unmodified lines