Skip to content

Commit

Permalink
Merge pull request #504 from gotcha/fix-travis-tests
Browse files Browse the repository at this point in the history
Run Travis tests in CentOS container.

Tests under Python 2.7 are temporarily disabled.
  • Loading branch information
gotcha committed May 9, 2020
2 parents ddff447 + e02c60c commit 2aeca59
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .travis.yml
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

0 comments on commit 2aeca59

Please sign in to comment.