forked from MontrealCorpusTools/Montreal-Forced-Aligner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (46 loc) · 1009 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
46
47
48
49
50
51
52
53
54
language: python
python:
- 3.5
branches:
only:
- master
notifications:
email: false
sudo: true
dist: xenial
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- gfortran
before_install:
- sudo apt-get update
- pwd
#- sudo rm -rf /dev/shm
#- sudo ln -s /run/shm /dev/shm
#- sudo ln -s -f bash /bin/sh
- bash continuous-integration/travis/install.sh
- ls thirdparty/bin -al
# Install packages
install:
- export PATH="$HOME/miniconda/miniconda/bin:$PATH"
- source activate test-environment
- pip install -r requirements.txt
- which python
- conda list
# Run test
script:
#- coverage help
- travis_wait 120 coverage run --source=aligner setup.py test
# Calculate coverage
after_success:
- coveralls
after_failure:
- ls tests/data/generated/sickcorpus/corpus_data/split2/log
- cat tests/data/generated/sickcorpus/corpus_data/split2/log/make_mfcc.0.log
cache:
directories:
- $HOME/miniconda
- $HOME/tools