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

Skip to content

Commit 26638c9

Browse files
committed
CI: only use 2 cpu on travis
1 parent 3f0af19 commit 26638c9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/make.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from __future__ import print_function
44
import glob
5-
import multiprocessing
65
import os
76
import shutil
87
import sys
@@ -54,7 +53,7 @@ def html(buildername='html'):
5453
if warnings_as_errors:
5554
options = options + ' -W'
5655
if os.system('sphinx-build -j %d %s -b %s -d build/doctrees . build/%s' % (
57-
multiprocessing.cpu_count(), options, buildername, buildername)):
56+
2, options, buildername, buildername)):
5857
raise SystemExit("Building HTML failed.")
5958

6059
# Clean out PDF files from the _images directory

0 commit comments

Comments
 (0)