1 Star 0 Fork 0

al0014 / GPy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
mzwiessele 提交于 2016-10-27 14:02 . fix: pandoc install under travis osx
sudo: false
os:
- osx
- linux
addons:
apt_packages:
- pandoc
#cache:
# directories:
# - "$HOME/download/"
# - "$HOME/install/"
env:
- PYTHON_VERSION=2.7
#- PYTHON_VERSION=3.3
- PYTHON_VERSION=3.4
- PYTHON_VERSION=3.5
before_install:
- wget https://github.com/mzwiessele/travis_scripts/raw/master/download_miniconda.sh
- wget https://github.com/mzwiessele/travis_scripts/raw/master/install_retry.sh
- source download_miniconda.sh
- echo $PATH
install:
- echo $PATH
- source install_retry.sh
- if [[ "$TRAVIS_OS_NAME" == "osx" ]];
then
conda install --yes pandoc;
fi;
- pip install codecov
- pip install coveralls
- pip install pypandoc
- pip install git+git://github.com/BRML/climin.git
- pip install autograd
- pip install nose-show-skipped
- python setup.py develop
script:
- coverage run travis_tests.py
after_success:
- codecov
- coveralls
before_deploy:
- cd doc
- pip install sphinx_rtd_theme
- sphinx-apidoc -o source/ ../GPy
- make html
- cd ../
- if [[ "$TRAVIS_OS_NAME" == "linux" ]];
then
export DIST='sdist';
elif [[ "$TRAVIS_OS_NAME" == "osx" ]];
then
export DIST='bdist_wheel';
fi;
deploy:
provider: pypi
user: maxz
password:
secure: "vMEOlP7DQhFJ7hQAKtKC5hrJXFl5BkUt4nXdosWWiw//Kg8E+PPLg88XPI2gqIosir9wwgtbSBBbbwCxkM6uxRNMpoNR8Ixyv9fmSXp4rLl7bbBY768W7IRXKIBjpuEy2brQjoT+CwDDSzUkckHvuUjJDNRvUv8ab4P/qYO1LG4="
on:
branch: deploy
distributions: $DIST
skip_cleanup: true
1
https://gitee.com/al0014/GPy.git
git@gitee.com:al0014/GPy.git
al0014
GPy
GPy
GMM_GPLVM

搜索帮助