Skip to content

Commit

Permalink
Travis Reset to dist variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Blank committed Aug 14, 2019
1 parent b54ecef commit 8e6a1af
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ python:

install:
- pip install numpy
- python setup.py install
- python test.py
- python setup.py sdist
- pip install dist/*.tar.gz


script:
- python tests/test_suite.py
- cd tests
- python test_suite.py
3 changes: 2 additions & 1 deletion pymoo/util/function_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def __init__(self) -> None:
if Configuration.show_compile_hint and not self.is_compiled:
print("\nCompiled modules for significant speedup can not be used!")
print("https://pymoo.org/installation.html#installation")
print("Disable this warning:")
print()
print("To disable this warning:")
print("from pymoo.configuration import Configuration")
print("Configuration.show_compile_hint = False\n")

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,14 @@ def readme():
with open('README.rst') as f:
return f.read()

kwargs['long_description'] = readme()

kwargs['long_description'] = readme()

# ---------------------------------------------------------------------------------------------------------
# Extensions
# ---------------------------------------------------------------------------------------------------------



ext_errors = (CCompilerError, DistutilsExecError, DistutilsPlatformError, IOError)


Expand Down
3 changes: 0 additions & 3 deletions test.py

This file was deleted.

0 comments on commit 8e6a1af

Please sign in to comment.