forked from GhostofGoes/getmac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
115 lines (103 loc) · 4.43 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Source: github.com/tox-dev/.travis.yml
stages:
- test
- name: deploy
if: repo = "GhostOfGoes/get-mac" AND tag IS present
# Details: blog.travis-ci.com/2017-12-01-new-update-schedule-for-linux-build-images
group: travis_latest
language: python
dist: xenial
sudo: true # TODO: would false work fine?
cache: pip
env:
TOXENV=py
jobs:
include:
- python: 2.7 # 2.7.14 pip 9.0.1
- python: 3.4 # 3.4.6 pip 9.0.1
dist: trusty
- python: 3.5 # 3.5.5 pip 9.0.1
- python: 3.6 # 3.6.3 pip 9.0.1
- python: 3.7 # 3.7.0 pip 10.0.1
- python: 3.8-dev
- python: pypy # 2.7.13 pip 9.0.1
dist: trusty
- python: pypy3 # 3.5.3 pip 9.0.1
dist: trusty
- os: osx
language: generic
env: TOXENV=osx-travis
- python: 3.6
env: TOXENV=flake8
- python: 3.6
env: TOXENV=spellcheck
# - stage: deploy
# python: '3.7'
# env:
# install: pip install "pip >= 10.0.0"
# script: skip
# after_success: python -c 'print("All done! ✨✨")'
# deploy:
# provider: pypi
# user: toxdev
# distributions: sdist bdist_wheel
# skip_upload_docs: true
# password:
# secure: GpPLWTVHMAOpHh2Jq+cYo9hE6cwTxPJ6fMA+q+ERWHtUAqSC88kBqoZ4DQb0cyFIlN24Z9f5J2vm80Q7Qv2UWCGVKeNaWMWFqvZ+P5czGEn7ARoeTsTaiyKTCC2w/7iDsne7dPcSHT/y8V2fO/35kcwcrc0EGr4peb9GDJ4asTFpffiVzW9l5OjV2+jQn+ihWNA0ujSB3AR4TLexXGH+Gf6O5uEHK/kPJ63NEDbJVEdciWqLbDiU+OwWl5Xb5hFX1fjKQ9dP4zA7SolNsNB6pqs4rLl2aHqKYOt1RYGgjWSvANDXKP7S46Q5LFIPkmt4QbOeWxX63NUMZUmWadbjoAF65q1d9Dq41IemsLmElSqpdfPaLtLgLCbNlgHRLNVH+nJVqxjc3bvdxi28K8DZ9BB9KGmPkrbbj4NB0prsPouKiBkUS9NyoQuDt1EzJ3Rn2FzMOH41X5gIqzdsdxcy+3DV2Bb+eozNgg+51n27ESf7vwiYMW9GFENw/6AcPkxIPYakQu4joJ+327wVfK4t0gdy/m4qu2n0Lx6wOJUdSOcOAT5bPaRBQV92gXAaVUsROKMfrzwlVLuA+GXcnj8fft8aMXem30+N3r7y5FjbiAts345qnbjSWV3w9qEbNjM/Z9mt7z1OfsqCarJ2Mj5wKQyYfewddYMjdk7aPW5/9gQ=
# on:
# all_branches: true
matrix:
fast_finish: true
allow_failures:
- python: 3.8-dev
- os: osx
# - python: 3.6
# env: TOXENV=flake8
# - python: 3.6
# env: TOXENV=spellcheck
before_install:
- python -c 'import sys; print(sys.version)'
- python -c 'import sys; print(sys.platform)'
- python -c 'import os; print(os.name)'
- python -c 'import platform; print(platform.version())'
- python -c 'import platform; print(platform.uname())'
- arp -a
- ifconfig
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ip a && ip link list && ip neigh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source .travis-osx; fi
install:
- pip install -U tox
- tox --notest
script:
- tox
#after_success:
#- '[[ "$TOXENV"="py" ]] && tox -e coverage,codecov'
#- '[[ -n "$RUN" && "$TOXENV"="py" ]] && tox -e coverage,codecov'
#notifications:
# email:
# on_success: never
# on_failure: change
#before_deploy:
#- python setup.py bdist_egg
#
#
#deploy:
# matrix:
# - provider: pypi
# skip_cleanup: true
# user: ghostofgoes
# password:
# secure: LlVHnj7TrXyEjj+gBQx9+rVzCi5SB2DyfqfQ35CpAFjjkJMbE2nnzMxMh+O7sFo+OFoBLQDpwwRbdT3OLBhQ+GbI7VKNXGB496t+OWcYtvl+kVpXiOCtDuOUq//mi8g51sJArwHOa7gU61ZEQOJsasv/Iw3DkkB2IeB/8/FyJqtsd/qMcLdcQy1XtODes4UZ2qZdE2UIzA8Q2Hk9IvubtGrC5726OqDxoqNoabFysbYgpICqURsBAY42KgEA8na03su0/4wbbF/guVl31shiXeufNjC1M6MicnrxI40yQ9LB+QOfFJfCQqmxKpWMulr4s7iAuY35B5a4XB8sfo2rRWwsuY2da1Ei9SJyLpkkkNl/yJ70GgUeALpwXE01Cvo3Da+yv889HNmOHizpX4DHsFGeXvqCKQuEOLbx5Mu6glWeaItSa5R27XzyWLPSWcgbja+huT7JC2k8pH/4A18ZY6JlEUc+ymxjwfKsXw00i1EiCJP/3ZxAkIem0oOm8Z5icLzPQ7SPDaghASA3Lpj0PneHsJu2mvb12UVi9j7q/OlbLc4JmfKi6u0RelZU48m676WsPUOLkhHrRX+OIOa+gFh9qnFXXnXhmT7OfeZsK/J/E4S5hXc6wcJJ+sk188PNWzqusbGK8FvfKYssfo1iVQSnFtPbMGGmTjXqeU0rsxI=
# on:
# tags: true
# - provider: releases
# skip_cleanup: true
# api_key:
# secure: bXQSN042EpyEe/scfd2GO7RIa1HWoZAtf358JF1oUL03ecowXhgBCz1mYilRcoGmrA/sOthZ5vga9QnWOfFUwmamUIG4lUu0wnbsR5bRXbA3gDPHTMNcd9tq8MjDamsB4OS+ycH6v4q1M6KHI0PNgqkYUex88u48AFNO7uXVq2FiZG+bpWXu1s68cW/ZNO3rCKn8fubbDn1eVdiUjXgkMlAKPwTFXHbFRa9ANUZLZhlwo4wTFN/G40l8PgRUZm7O0Qh4VKr+ahmFQ37R6vP2QQn8jv4y7GkLROhDx9uRV3iBqIrKj1sYjZpTNe3ddl5NO1bRNN559JDniBAfc1nFuXhAhY2U4IgiKrXRpM+M1Wu80Ukbhd+jiFCs7dYRsyXjdQeNXI1CYa3mnlI3zTuzaZj9kRXkgzjEc0fUaK+pMI0i9vkoN1wMOFodB5ObwnXYqq/0CD7ElREBDCVURrAmhxPqJFXR0ZFSoRgW4uThbkFHcBcjgZaZEKek0jtkWTp+DS05mIOi0c0/VLT6SHGVnJlsQOd1cn4Qr3qCokQFs9EW2XiZ4/ZzNH+8CCKyw4h8nr70fiDJNg8pwOK6eMEaP3Pm2nAhyQWQRrbkQPaMrRM/XbJPT30LIvh8xorVBwrvHHkBBLwkcIl6xi7H87TZZQ4tyPlui2NfOs2O0O/oBu0=
# file_glob: true
# file:
# - './getmac/getmac.py'
# - './**/*.egg'
# on:
# repo: GhostofGoes/get-mac
# tags: true