diff --git a/.travis.yml b/.travis.yml index 8d8a18f..c27c171 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index 2d7ad47..d9f7061 100644 --- a/Makefile +++ b/Makefile @@ -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