5 Star 12 Fork 4

灵剑2012 / vlcp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ci_test.sh 781 Bytes
一键复制 编辑 原始数据 按行查看 历史
gaopl 提交于 2017-07-03 16:08 . fix travis ci pypy env!
#!/bin/bash -xe
# This is a hack. We are running in sudo, must start the virtualenv manually
if [ "${TRAVIS_PYTHON_VERSION:0:4}" == "pypy" ]; then
venv=pypy-5.4
else
venv=python${TRAVIS_PYTHON_VERSION}
fi
[ -f "/home/travis/virtualenv/${venv}/bin/activate" ] && source /home/travis/virtualenv/${venv}/bin/activate
python --version
python -m unittest discover
if [ "${TRAVIS_EVENT_TYPE}" == "cron" -o "${TRAVIS_EVENT_TYPE}" == "pull_request" -o "${TRAVIS_TAG:-}" != "" ]; then
python setup.py bdist_wheel
wget https://github.com/hubo1016/vlcp-controller-test/archive/master.tar.gz -O ./vlcp-controller-test.tar.gz
tar -xzvf vlcp-controller-test.tar.gz
cp dist/*.whl vlcp-controller-test-master/
pushd vlcp-controller-test-master/
bash -xe starttest.sh $venv ${KV_DB}
fi
Python
1
https://gitee.com/hubo1016/vlcp.git
git@gitee.com:hubo1016/vlcp.git
hubo1016
vlcp
vlcp
master

搜索帮助