-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #504 from gotcha/fix-travis-tests
Run Travis tests in CentOS container. Tests under Python 2.7 are temporarily disabled.
- Loading branch information
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,19 @@ | ||
language: python | ||
language: minimal | ||
env: | ||
- PYTHON_VER=2.7 | ||
- PYTHON_VER=3.4 | ||
- PYTHON_VER=3.5 | ||
- PYTHON_VER=3.6 | ||
- PYTHON_VER=3.7 | ||
- PYTHON_VER=3.8 | ||
|
||
sudo: false | ||
cache: | ||
directories: | ||
- pythons | ||
# Note on this cache directories: "make build" downloads pythons elsewhere, | ||
# but installs the compiled bin/lib/share in pythons/pythonx.y/ . | ||
services: | ||
- docker | ||
|
||
notifications: | ||
email: | ||
- buildout-development@googlegroups.com | ||
|
||
install: | ||
- ls -al pythons | ||
- export COVERAGE_PROCESS_START= | ||
- deactivate | ||
- make build | ||
- docker build -f .github/workflows/Dockerfile --tag centos_buildout:python${PYTHON_VER} --build-arg PYTHON_VER=${PYTHON_VER} . | ||
|
||
script: make test | ||
script: | ||
- docker run centos_buildout:python${PYTHON_VER} /buildout/bin/test -c -vvv |