-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (36 loc) · 1000 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
35
36
37
38
39
40
41
42
43
44
45
language: python
python:
- "2.7"
- "3.5"
- "3.6"
dist: trusty
addons:
apt:
packages:
- libav-tools
- mencoder
- dvipng
cache: pip
before_script:
- "sudo add-apt-repository ppa:mc3man/trusty-media -y"
- "sudo apt-get update"
- "sudo apt-get -y install ffmpeg libvpx-dev x264 libx264-dev"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
sudo: false
install:
- wget -c http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
- bash Miniconda-latest-Linux-x86_64.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 --yes -q -n test python=$TRAVIS_PYTHON_VERSION pip pytest numpy scipy matplotlib
- source activate test
- pip install -r requirements-dev.txt
script:
- py.test -s -v --cov=./Animate --pep8
after_success:
- coveralls