forked from AcademySoftwareFoundation/OpenTimelineIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: python
python:
- "2.7"
- "3.5"
env:
global:
- PYAAF27=PyAAF-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl
- PYAAF35=PyAAF-1.0.0-cp35-cp35m-manylinux1_x86_64.whl
before_install:
# Note that pyaaf is only needed for the AAF adapter
# We need to get a wheel that matches our Python version
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then export PYAAF=$PYAAF27 ; else export PYAAF=$PYAAF35; fi
- wget -qO /tmp/${PYAAF} "https://github.com/markreidvfx/pyaaf/releases/download/v1.0.0/${PYAAF}"
install:
- pip install pep8 pyflakes flake8 coverage
- pip install Pillow # only needed for some contrib adapters
- pip install --upgrade pip setuptools wheel
- pip install /tmp/${PYAAF}
script:
- make lint
- make test
# Build coverage which will get uploaded to codecov
- make coverage
after_success:
# Documentation for codecov uploader
# https://docs.codecov.io/docs/about-the-codecov-bash-uploader
- bash <(curl -s https://codecov.io/bash)