buildozer/.travis.yml
Andre Miras 366aff9c60 Various Dockerfile improvements
- 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"
2019-03-09 20:55:48 +01:00

24 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