-
Notifications
You must be signed in to change notification settings - Fork 98
/
.travis.yml
58 lines (51 loc) · 1.51 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
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py
os:
- linux
language: python
python:
- 3.6
- 3.7
#jobs:
# include:
# - os: linux
#- name: "Python 3.7.4 on macOS"
# os: osx
# osx_image: xcode11.2 # Python 3.7.4 running on macOS 10.14.4
# language: shell # 'language: python' is an error on Travis CI macOS
#- name: "Python 3.8.0 on Windows"
# os: windows # Windows 10.0.17134 N/A Build 17134
# language: shell # 'language: python' is an error on Travis CI Windows
# before_install:
# - choco install python --version 3.8.0
# - python -m pip install --upgrade pip
# env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -r requirements_dev.txt
- pip install -r requirements.txt
- pip install tox-travis
addons:
apt:
packages:
- python-dev
- libxml2-dev
after_success:
- coveralls --ignore-errors
# command to run tests, e.g. python setup.py test
script:
- tox
- coverage run --source=spade -m py.test
- coverage report -m
# After you create the Github repo and add it to Travis, run the
# travis_pypi_setup.py script to finish PyPI deployment setup
#deploy:
# provider: pypi
# distributions: sdist bdist_wheel
# user: jpalanca
# password:
# secure: PLEASE_REPLACE_ME
# on:
# tags: true
# repo: javipalanca/spade
# python: 3.6