.travis.yml 436 Bytes
Newer Older
Kai Chen's avatar
Kai Chen committed
1
2
3
4
5
6
7
8
9
10
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:
Kai Chen's avatar
Kai Chen committed
11
  - pip install opencv-python pyyaml codecov flake8
Kai Chen's avatar
Kai Chen committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25

cache:
  pip: true

env:
  global:
    - COLUMNS=80

python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"

Kai Chen's avatar
Kai Chen committed
26
27
before_script: flake8

Kai Chen's avatar
Kai Chen committed
28
29
30
script: coverage run --source=mmcv setup.py test

after_success: codecov