forked from cuthbertLab/music21
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (39 loc) · 1.11 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
language: python
matrix:
include:
- python: 3.5
dist: xenial
sudo: false
- python: 3.6
dist: xenial
sudo: false
- python: 3.7
dist: xenial
sudo: true
services:
- xvfb
before_install:
# needed for some tests that add Desktop
- mkdir ~/Desktop
- sudo apt-get install -y libpng-dev
- sudo apt-get install -y python-qt4
- export PYTHONPATH=/home/travis/cuthbertLab/music21base
- wget -q http://lilypond.org/downloads/binaries/linux-64/lilypond-2.19.81-1.linux-64.sh
- pip3 install coveralls
- sh lilypond-2.19.81-1.linux-64.sh --batch
- export PATH=/home/travis/bin:$PATH
install:
- pip install numpy
- pip install scipy
- pip install matplotlib
- pip install setuptools
- pip install coverage
- pip install pylint
- cd ..
- mv music21 music21base
- cd music21base
- python -m compileall music21
script:
- python -c 'from music21.test.testSingleCoreAll import travisMain as tm; tm()'
after_success:
- if [ "$TRAVIS_PYTHON_VERSION" == "3.5" ]; then coveralls; fi