language: python
dist: xenial
python:
  - "2.7"
before_install:
  - sudo apt-get install gradle
install:
  - pip install tox
script:
  - tox -v
  - gradle check
after_failure:
  - cat build/reports/codenarc/main.txt

language: python
dist: trusty
python:
  - "2.7"
before_install:
  - sudo apt-get install gradle
install:
  - pip install tox
script:
  - tox -v
  - gradle check
after_failure:
  - cat build/reports/codenarc/main.txt

Switch Travis CI to Trusty image (CI fix)
Switch Travis CI to Trusty image (CI fix)

In absence of Xenial image Travis used Precise as a fallback (cool).
Since our only options for Travis are either Precise or trusty let's at
least explicitly use Trusty.
