mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
setup travis
This commit is contained in:
parent
75ee2531a0
commit
923091b513
28
.travis.yml
Normal file
28
.travis.yml
Normal file
@ -0,0 +1,28 @@
|
||||
dist: trusty
|
||||
sudo: required
|
||||
language: python
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository -y ppa:mc3man/trusty-media
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y ffmpeg
|
||||
|
||||
install:
|
||||
- pip install opencv-python pyyaml codecov
|
||||
|
||||
cache:
|
||||
pip: true
|
||||
|
||||
env:
|
||||
global:
|
||||
- COLUMNS=80
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
|
||||
script: coverage run --source=mmcv setup.py test
|
||||
|
||||
after_success: codecov
|
Loading…
x
Reference in New Issue
Block a user