travis: add a LANG= linux build

to catch things like ticket:2912
(https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2912)

Also clean up other "list"-ish keys to avoid causing too many builds:

* "os": move this into "matrix"
* "python": 2.7 is the default, and we weren't running the pypy build
  anyways (not sure why, something else in this config must have disabled it,
  maybe when we moved away from language: python)
* "allow_failures" was causing a pypy build to happen even without listing it
  in "python"

We now have exactly three builds:

* linux
* linux with LANG=
* OS-X
This commit is contained in:
Brian Warner 2018-03-28 13:45:27 -07:00
parent f155ade4ad
commit 3bc099108a

View File

@ -1,14 +1,8 @@
dist: trusty
sudo: required
os:
- "linux"
- "osx"
cache: pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
python:
- "2.7"
- "pypy"
before_install:
- sh -c set
- git config --global user.email "travis-tahoe@tahoe-lafs.org"
@ -38,6 +32,9 @@ notifications:
- "%{repository}#%{build_number} [%{branch}: %{commit} by %{author}] %{message}"
- "Changes: %{compare_url} | Details: %{build_url}"
matrix:
allow_failures:
- python: "pypy"
include:
- os: linux
- os: linux
env: LANG=
- os: osx
fast_finish: true