366aff9c60
- installs cutting edge version from current source - removes outdated java version fixes - migrates to host Python3 - verifies the image builds and run via Travis - fixes minor linting: "E117 over-indented"
23 lines
595 B
YAML
23 lines
595 B
YAML
sudo: required
|
|
|
|
language: generic
|
|
|
|
services:
|
|
- docker
|
|
|
|
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
|
|
|
|
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
|