Skip to content

Commit 029128e

Browse files
Add files via upload
0 parents  commit 029128e

9 files changed

+452
-0
lines changed

.coveragerc

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[run]
2+
branch = True
3+
source = bayes_opt
4+
5+
[report]
6+
exclude_lines =
7+
pragma: no cover
8+
.* # pragma: no cover
9+
.* # nocover
10+
def __repr__
11+
raise AssertionError
12+
raise NotImplementedError
13+
if 0:
14+
verbose = .*
15+
raise
16+
pass
17+
if __name__ == .__main__.:
18+
print(.*)
19+
20+
omit =
21+
*/setup.py
22+
examples/*
23+
tests/*
24+
bayes_opt/logger.py

.gitignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.ipynb_checkpoints
2+
*.pyc
3+
*.egg-info/
4+
build/
5+
dist/
6+
scratch/
7+
.idea/
8+
.DS_Store
9+
bo_eg*.png
10+
gif/
11+
12+
# Unit test / coverage reports
13+
htmlcov/
14+
.tox/
15+
.coverage
16+
.coverage.*
17+
.cache
18+
nosetests.xml
19+
coverage.xml
20+
*,cover
21+
.hypothesis/
22+
23+
# Environments
24+
.env
25+
.venv
26+
env/
27+
venv/
28+
ENV/
29+
env.bak/
30+
venv.bak/

.travis.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
language: python
2+
sudo: false
3+
4+
cache:
5+
apt: true
6+
directories:
7+
- $HOME/.cache/pip
8+
- $HOME/download
9+
python:
10+
- "2.7"
11+
- "3.4"
12+
- "3.5"
13+
- "3.6"
14+
before_install:
15+
- pip install pip -U
16+
- pip install pytest -U
17+
- pip install pytest-cov -U
18+
- pip install codecov -U
19+
#- pip install xdoctest -U
20+
install:
21+
#- travis_retry python setup.py build develop
22+
- travis_retry pip install -e .
23+
script:
24+
- travis_wait pytest --cov-config .coveragerc --cov-report html --cov=bayes_opt
25+
#-p no:doctest --xdoctest
26+
after_success:
27+
#- coveralls || echo "Coveralls upload failed"
28+
- codecov
29+
cache:
30+
apt: true
31+
directories:
32+
- $HOME/.pip-cache

LICENSE

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Fernando M. F. Nogueira
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)