Skip to content

Commit

Permalink
Building only half of the modules under travis #69
Browse files Browse the repository at this point in the history
  • Loading branch information
BoPeng committed Feb 28, 2019
1 parent cb4926d commit 27e2f90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,11 @@ def ModuInfo(modu, SIMUPOP_VER, SIMUPOP_REV):
if __name__ == '__main__':
SIMUPOP_VER, SIMUPOP_REV = simuPOP_version()
# create source file for each module
MODULES = ['std', 'op', 'la', 'laop', 'ba', 'baop', 'mu', 'muop', 'lin', 'linop']
if 'TRAVIS' in os.environ:
# only build and test half of the modules to save time
MODULES = ['std', 'la', 'ba', 'mu', 'lin']
else:
MODULES = ['std', 'op', 'la', 'laop', 'ba', 'baop', 'mu', 'muop', 'lin', 'linop']
COMMON_MACROS.extend([
('SIMUPOP_VER', SIMUPOP_VER),
('SIMUPOP_REV', SIMUPOP_REV)
Expand Down

0 comments on commit 27e2f90

Please sign in to comment.