forked from jsnyder/stm32loader
-
Notifications
You must be signed in to change notification settings - Fork 55
/
.travis.yml
32 lines (27 loc) · 870 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
language: python
matrix:
include:
# Lint using nox on native Python 3.6
- python: "3.6"
env: NOXSESSION="lint"
# Test using nox on native Python 3.5/3.6/3.7/3.8
- python: "3.5"
env: NOXSESSION="tests-3.5"
- python: "3.6"
env: NOXSESSION="tests-3.6"
- python: "3.7"
env: NOXSESSION="tests-3.7"
dist: xenial # necessary for Python 3.7
sudo: required # necessary for Python 3.7
- python: "3.8"
env: NOXSESSION="tests-3.8"
dist: xenial # necessary for Python 3.8
sudo: required # necessary for Python 3.8?
# Test using nox on non-native Python version 3.6
# (nox does not natively run on 3.4)
- python: "3.6"
env: NOXSESSION="tests-3.4"
install:
- pip install --upgrade pip setuptools nox pyserial progress
- pip install .
script: nox --session "$NOXSESSION"