-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
.travis.yml
97 lines (94 loc) · 2.31 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
language: cpp
matrix:
include:
- os: osx
osx_image: xcode10.1
sudo: true
compiler:
- clang
addons:
homebrew:
packages:
- cmake
- fftw
- libsamplerate
- libsndfile
- libtag
- boost
- boost-python3
- python3
- numpy
- matplotlib
- scipy
- lcov
- libyaml
- ffmpeg
- taglib
- readline
- sqlite
- gdbm
- freetype
- libpng
- chromaprint
- pkg-config
- libmagic
script:
- cd ${TRAVIS_BUILD_DIR}
- sh mac_travis.sh
after_success:
- cd ${TRAVIS_BUILD_DIR}
- lcov --directory . --capture --output-file coverage.info
- lcov --remove coverage.info '/usr/*' --output-file coverage.info
- lcov --list coverage.info
- bash <(curl -s https://codecov.io/bash)
# - os: linux
# dist: xenial
# sudo: true
# compiler: gcc
# python:
# - "2.7"
# addons:
# apt:
# packages:
# - gcc-7
# - g++-7
# - cmake
# - lcov
# - libfftw3-dev
# - libsamplerate0-dev
# - libaudiofile-dev
# - libsndfile1-dev
# - libgtest-dev
# - libboost-all-dev
# - python
# - python-numpy
# - python-numpy-dev
# - python-scipy
# - python-six
# - python-yaml
# - libtag1-dev
# - libavcodec-dev
# - libavformat-dev
# - libyaml-dev
# - libchromaprint-dev
# - ffmpeg
# sources:
# - ubuntu-toolchain-r-test
# - llvm-toolchain-trusty-5.0
# env:
# - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
# - USE_BOOST_NUMPY_DEPRECATED=1
# before_install:
# - eval "${MATRIX_EVAL}"
# - sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-5 90
# script:
# - cd ${TRAVIS_BUILD_DIR}
# - sh xenial_travis.sh
branches:
only:
- master
env:
global:
- CODECOV_TOKEN =: "69069f21-5a1a-4d45-a6c2-e7a5af9bd63d"
notifications:
email: false