forked from ANR-DIADEMS/timeside-diadems
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (36 loc) · 1.27 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
33
34
35
36
37
38
39
40
41
42
43
44
language: python
python:
- "2.7"
#virtualenv:
# system_site_packages: true
# command to prepare the system to install prerequisites or dependencies
before_install:
- sudo add-apt-repository -y ppa:donk/gstreamer
- sudo apt-get -qq update
- export DEBIAN_PACKAGES=$(egrep -v "^\s*(#|$)" debian-requirements.txt)
- sudo apt-get install -qq $DEBIAN_PACKAGES
# Install conda
- 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
# Useful for debugging any issues with conda
- conda info -a
# Install binary dependencies with conda
- echo $TRAVIS_PYTHON_VERSION
- conda create -q -n test-environment -c thomasfillon -c piem --file conda-requirements.txt python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
# Install TimeSide
install:
- pip install -r requirements.txt
# command to run tests
before_script:
- pip install -U coverage
- pip install python-coveralls
script:
- python -c"import timeside.core; timeside.core.processor.list_processors()"
- coverage run --source=timeside.plugins.diadems setup.py test
after_success:
- coveralls