File: .travis.yml

package info (click to toggle)
python-shapely 1.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,368 kB
  • sloc: python: 9,915; makefile: 102; sh: 31
file content (37 lines) | stat: -rw-r--r-- 714 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
language: python
sudo: false
cache: pip

python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"

env:
  - "TRAVIS_SPEEDUP_OPTS=--with-speedups"
  - "TRAVIS_SPEEDUP_OPTS=--without-speedups"

addons:
  apt:
    packages:
      - libgeos-dev
      - python-numpy

before_install:
  - if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install unittest2; fi
  - pip install pip setuptools --upgrade
  - pip install --install-option="--no-cython-compile" cython

install:
  - pip install -e .[test]
  - pip install coveralls

script: "py.test --cov shapely --cov-report term-missing ${TRAVIS_SPEEDUP_OPTS}"

after_success:
  - coveralls || echo "!! intermittent coveralls failure"
  
notifications:
    email: false