forked from jcheong0428/facesync
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (27 loc) · 922 Bytes
/
.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
33
34
os:
- linux
language: python
sudo: true
python:
- "2.7"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ffmpeg; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libav; fi
- sudo apt-get install libav-tools
install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy pytest
- source activate testenv
- pip install python-coveralls
- pip install -r requirements.txt
- python setup.py install
script: coverage run --source facesync -m py.test
after_success:
- coveralls