-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
38 lines (38 loc) · 1.06 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
os: linux
dist: focal
language: python
jobs:
include:
- python: '2.6'
dist: trusty
- python: '2.7'
before_script:
- pip install flake8
- flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
- python: '3.5'
- python: '3.6'
- python: '3.7'
- python: '3.8'
before_script:
- pip install flake8
- flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
- python: '2.7'
dist: trusty
env: JYTHON=org.python:jython-installer:2.7.2
before_install:
- if [ -n "$JYTHON" ]; then ./ci/before_install_jython.sh; source $HOME/myvirtualenv/bin/activate
;fi
install:
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install unittest2; fi
- pip install -e .
script:
- python test/testsuite.py
deploy:
provider: pypi
username: sunng
password:
secure: AiBcPz4FVeUQeGw1zJKmQVECzlxgnjKeHQXU5re6AEuedV3WkG5PrDSmzPQDcrswMw9OmuEzvJGSHi4xTD0oqS2MfAUg7phgEq14h7s4Hb2LM2vac+l6tm0JfyzZVUWqP1XeBcVpGwcONYvaxSNTVrIFGjKBK4tjkYR1Bz5RTTo=
on:
tags: true
repo: jiptool/jip
distributions: sdist bdist_wheel