2019-03-08 01:18:04 +01:00
|
|
|
sudo: required
|
2019-01-16 23:10:39 +01:00
|
|
|
|
2019-03-08 01:18:04 +01:00
|
|
|
language: generic
|
2019-01-16 23:10:39 +01:00
|
|
|
|
2019-03-08 01:18:04 +01:00
|
|
|
services:
|
|
|
|
- docker
|
2019-01-16 23:10:39 +01:00
|
|
|
|
2019-03-08 01:18:04 +01:00
|
|
|
before_install:
|
|
|
|
- travis_retry sudo apt update -qq
|
|
|
|
- travis_retry sudo apt install -qq --no-install-recommends python2.7 python3
|
|
|
|
- sudo pip install tox>=2.0
|
|
|
|
# https://github.com/travis-ci/travis-ci/issues/6069#issuecomment-266546552
|
|
|
|
- git remote set-branches --add origin master
|
|
|
|
- git fetch
|
2019-01-16 23:10:39 +01:00
|
|
|
|
2019-03-08 01:18:04 +01:00
|
|
|
before_script:
|
|
|
|
# we want to fail fast on tox errors without having to `docker build` first
|
|
|
|
- tox
|
|
|
|
|
|
|
|
script:
|
|
|
|
# simply makes sure the Docker image builds and run
|
|
|
|
- docker build --tag=buildozer .
|
|
|
|
- docker run buildozer --version
|