forked from algorithmic-music-exploration/amen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (33 loc) · 764 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
sudo: false
addons:
apt:
packages:
- ffmpeg
- libsndfile1
cache:
directories:
- $HOME/env
language: python
notifications:
email: false
python:
- "2.7"
- "3.4"
- "3.5"
before_install:
- bash .travis_dependencies.sh
- export PATH="$HOME/env/miniconda$TRAVIS_PYTHON_VERSION/bin:$PATH";
- hash -r
- source activate test-environment
install:
# install your own package into the environment
# pip install -e rather than setup.py, so that coverage can find the source
- pip install -e ./
script:
- python --version
- nosetests --with-coverage --cover-erase --cover-package=amen -v -w tests/
after_success:
- coveralls
- pip uninstall -y amen
after_failure:
- pip uninstall -y amen