forked from librosa/librosa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (51 loc) · 1.14 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
cache:
apt: True
directories:
- $HOME/env
- $HOME/Library/Caches/Homebrew
- $HOME/.cache
- $HOME/Library/Caches/librosa
language: python
notifications:
email: false
jobs:
include:
- python: 3.6
os: linux
dist: bionic
- python: 3.7
os: linux
dist: bionic
- python: 3.8
os: linux
dist: bionic
- os: osx
language: generic
osx_image: xcode11
addons:
apt:
packages:
- libsamplerate0
homebrew:
packages:
- libsamplerate
before_install:
- bash .travis_dependencies.sh
- export PATH="$HOME/env/miniconda-$TRAVIS_OS_NAME$TRAVIS_PYTHON_VERSION/bin:$PATH";
- hash -r
- source activate test-environment
- conda list
before_cache:
- brew cleanup
install:
# install your own package into the environment
# pip install -e rather than setup.py, so that coverage can find the source
- pip install --pre -e .[tests]
script:
- python --version
- pytest
after_success:
- coveralls
- pip uninstall -y librosa
after_failure:
- pip uninstall -y librosa