File: .travis.yml

package info (click to toggle)
pywps 4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,680 kB
  • sloc: python: 5,885; xml: 669; makefile: 52
file content (55 lines) | stat: -rw-r--r-- 925 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
45
46
47
48
49
50
51
52
53
54
55
language: python

sudo: required
dist: trusty

python:
  - "2.7"
  - "3.6"

git:
  submodules: false

addons:
  apt:
    sources:
      - sourceline: 'ppa:ubuntugis/ppa'
    packages:
      - gdal-bin
      - libgdal-dev
      - devscripts
      - fakeroot
      - debhelper
      - python-setuptools

# Handle Git submodules yourself
git:
    submodules: false

install:
  - pip install pip --upgrade
  - pip install -r requirements.txt
  - pip install -r requirements-gdal.txt
  - pip install -r requirements-extra.txt
  - pip install -r requirements-dev.txt
  - pip install coveralls

script:
  - python -m unittest tests
  - coverage run --source=pywps -m unittest tests
  - flake8 pywps/

after_success:
  - coveralls
  - python setup.py sdist bdist_wheel --universal
  - debuild -b -uc -us

# whitelist
# branches:
#   only:
#     - master

# notifications:
#  irc:
#    channels:
#      - "irc.freenode.org#geopython"