File: .travis.yml

package info (click to toggle)
resampy 0.4.2%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 240 kB
  • sloc: python: 847; makefile: 165; sh: 14
file content (44 lines) | stat: -rw-r--r-- 849 bytes parent folder | download | duplicates (2)
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
language: python

# sudo false implies containerized builds
sudo: false


notifications:
    email: false

python:
  - 2.7
  - 3.5
  - 3.6
  - 3.7

cache:
    directories:
    - $HOME/miniconda

env:
  global:
    # Directory where tests are run from
    - CONDA_DEPS="pip nose numpy scipy numba pytest<4 coveralls"

before_install:
- export MINICONDA=$HOME/miniconda
- export PATH="$MINICONDA/bin:$PATH"
- hash -r
# Install conda only if necessary
- command -v conda >/dev/null || { wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
   bash miniconda.sh -b -f -p $MINICONDA; }
- conda config --set always_yes yes
- conda update conda
- conda info -a
- conda install python=$TRAVIS_PYTHON_VERSION $CONDA_DEPS

install:
    - pip install -e .[docs,tests]

script:
    - pytest

after_success:
    - coveralls