Try and run some python tests in Travis

This commit is contained in:
Nicolas Stalder 2019-01-03 14:53:44 +01:00
parent 89de3738c0
commit c58c8300ac
2 changed files with 15 additions and 11 deletions

View File

@ -1,12 +1,16 @@
dist: trusty
language: c
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
sudo: required
dist: bionic
language: generic
compiler:
- clang
- gcc
cache: pip
install:
- pip install -f tools/requirements.txt
- pip install black
script:
- export CC=gcc-7
- env3/bin/black --check --skip-string-normalization tools/
- env3/bin/python tools/solotool.py -h
- make test

View File

@ -81,7 +81,7 @@ env3:
# selectively reformat our own code
black: env3
env3/bin/black -S tools/
env3/bin/black --skip-string-normalization tools/
wink2: env2
env2/bin/python tools/solotool.py solo --wink