代码拉取完成,页面将自动刷新
os:
- linux
dist: xenial
sudo: required
services: docker
language: python
python:
- "3.5"
- "3.6"
- "3.7"
# Python for Mac is not yet officially supported by Travis.
# We test only Python 3.7 on macOS for now with a custom setup script.
# Python 2.7 is required for ROS, so this is tested in the ROS Dockerfile.
matrix:
include:
- os: osx
language: generic
env: PYTHON=3.7.0
- os: linux
language: python
env:
- EVO_DOCKERFILE="Dockerfile.rosmelodic"
- EVO_DOCKER_IMAGE="evoslam/evopython:rosmelodic"
before_install:
- bash .ci/mac-os_before_install.sh
install:
- |
if [ -z $EVO_DOCKERFILE ]; then
source .ci/set_pip_name.sh;
${pip} install . --upgrade;
evo_config set plot_backend Agg; # no X server
fi
script:
- |
if [ -z $EVO_DOCKERFILE ]; then
${pip} install pytest --upgrade;
pytest -sv;
else
docker build . --file $EVO_DOCKERFILE --tag $EVO_DOCKER_IMAGE || exit 1
if [[ $TRAVIS_BRANCH == "master" ]] && [[ $TRAVIS_PULL_REQUEST == "false" ]]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push $EVO_DOCKER_IMAGE
fi
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。