File: .travis.yml

package info (click to toggle)
py-stringmatching 0.4.2%2Bgit20201204.6a7fb57-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,632 kB
  • sloc: python: 4,000; makefile: 176
file content (44 lines) | stat: -rw-r--r-- 1,172 bytes parent folder | download
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
matrix:
  include:
  - os: linux                                                                   
    python: 3.6                                                                 
    env: PYTHON_VERSION=3.6       
  - os: linux
    python: 3.7
    env: PYTHON_VERSION=3.7
  - os: linux
    python: 3.8
    env: PYTHON_VERSION=3.8

  - os: osx
    language: generic
    env:
    - PYTHON_VERSION=3.6
  - os: osx
    language: generic
    env:
    - PYTHON_VERSION=3.7
  - os: osx
    language: generic
    env:
    - PYTHON_VERSION=3.8

before_install:
  - if [ "$TRAVIS_OS_NAME" == linux ]; then MINICONDAVERSION="Linux"; else MINICONDAVERSION="MacOSX"; fi
  - wget http://repo.continuum.io/miniconda/Miniconda3-latest-$MINICONDAVERSION-x86_64.sh -O miniconda.sh
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"

install:
  - conda create --yes -n py_stringmatching_test_env python=$PYTHON_VERSION
  - source activate py_stringmatching_test_env
  - python --version
  - pip install numpy six nose Cython coveralls
  - python setup.py build_ext --inplace

script:
  - coverage run -m nose
  - uname -a

after_success:
  - coveralls