-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
48 lines (42 loc) · 865 Bytes
/
.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
language: python
jobs:
include:
- stage: test
python: 2.7
env: TOXENV=py27
name: "Python 2.7"
- python: 3.4
env: TOXENV=py34
name: "Python 3.4"
- python: 3.5
env: TOXENV=py35
name: "Python 3.5"
- python: 3.6
env: TOXENV=py36
name: "Python 3.6"
- python: 3.7
env: TOXENV=py37
name: "Python 3.7"
- stage: deploy
python: 3.7
name: "Upload dev version to PyPi"
script: ./.push-to-pypi.sh
stages:
- test
- name: deploy
if: branch = master
install:
- git fetch --tags
- cd programmer
- pip install --upgrade pip
- pip install --upgrade tox
- pip install --upgrade setuptools
- pip install --upgrade setuptools_scm
- pip install --upgrade wheel
- pip install --upgrade twine
script:
- tox
notifications:
email: false
git:
depth: false