1 Star 0 Fork 0

HuFBH / huf_xfer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 2.85 KB
一键复制 编辑 原始数据 按行查看 历史
language: python
os: linux
python:
- '3.4'
- '3.5'
sudo: required
dist: xenial
before_install: |
cd xfer-ml
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
# Get latest version of brew
brew update
# Recommended for pyenv
brew outdated openssl || brew upgrade openssl
brew outdated readline || brew upgrade readline
# Update pyenv
brew outdated pyenv || brew upgrade pyenv
# Install specified Python version
pyenv install $PYTHON
# Set environment variables
export PYENV_VERSION=$PYTHON
export PATH="/Users/travis/.pyenv/shims:${PATH}"
# Confirm versions
python --version
pip -V
pip install --upgrade pip
if [ $PYTHON == 3.4.4 ]; then
# GPy requires numpy during setup for Python versions less than 3.5
pip install numpy
fi
fi
install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
# work around issues with GPy setting matplotlib backend
- "echo 'backend: Agg' > matplotlibrc"
- pip freeze
script:
- flake8
- pytest --durations=0 --cov=./ --integration
after_success:
- codecov
jobs:
include:
- os: osx
language: generic
python: '3.6'
env: PYTHON=3.6.6
- os: linux
python: '3.6'
if: branch != master
- stage: notebooks
python: '3.6'
script:
- sudo apt-get install graphviz
- pip install -r docs/demos/requirements.txt
- travis_wait 40 pytest --durations=0 --notebook tests/notebook/test_notebooks.py
- script:
- sudo apt-get install graphviz
- pip install -r docs/demos/requirements.txt
- travis_wait 40 pytest --durations=0 --notebook_hpo tests/notebook/test_notebooks.py
python: '3.6'
name: "HPO notebook"
- script:
- sudo apt-get install graphviz
- pip install -r docs/demos/requirements.txt
- travis_wait 40 pytest --durations=0 --notebook_gluon tests/notebook/test_notebooks.py
python: '3.6'
name: "Gluon notebooks"
- stage: release
if: branch = master
python: '3.6' # Official supported Python dist.
deploy:
provider: pypi
user: jmas
password:
secure: dTE1XktLfnIWaQ1jnwNX0jtFf9qlkS2KekXQwqRB5x6zO3ou8FkOJIrp01WbDycDVyWAaIHGgZNj+sNlqhVnVKIgRj/fzIJ18Ur4GCmyhoJ9iB4GOPh9clBVBIkC6jSNAaQJlEzzHhx81RncKjhN2HaTpt7Xev89NrdBl0j1enyKPtYM7LrZGymlbdMBHpDTxbNe2CHkw+R+sgnBxtg1UttjMP36zuAQzNhqd5hT3fIuLyI3XWsNEL6/QL/oGN7IvBtm2a7cYsZvCiMDL3pgpKkirUOZGNgWjEGv+OipRavgal+As7J2WAGj0F2X4tVTBAzaf/hG8aQV3OXacMBrQJVUldpqsqpfnQB1gUxEOpk3/rcHMZUxG6uQbBFCrgfdFVUs6N/IDe6humkqiFpouXc+h5hhPcwvguOWJcdgHmlluEO/SnWaP41hDIwDw4zNv/EavG0ZI1645QXuSrLDOv1mgX4XEBvxprILzPhYhz3Za+Lw4v4UVIari3kE/ZQf5OYqhECj3Fou5/Rl65IOm0vOpp7JfVmJHni+EPVJbBRv4nQQ+GHl8CEFT1v+SejgUXfB3hMxOXYeEHPGbzCbgFqOnmLBPrxk/pPIwd4SLzGQf9GALkbJNASQQPjej3IBxhVHEhr+w9t8ffz0FtiLd28OoEa7IZayjmuLk2Q9WvM=
on:
tags: true
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/HuFBH/huf_xfer.git
git@gitee.com:HuFBH/huf_xfer.git
HuFBH
huf_xfer
huf_xfer
master

搜索帮助