Question about use all Ubuntu version?

I want to test all Ubuntu 12.04 and Ubuntu 14.04 and Ubuntu 16.04, what should I do?

In my opinion, I could use three branches, but I think there should be a better method.

thanks.

You can define three jobs with differing dist values; e.g.,

jobs:
  include:
    - dist: precise
    - dist: trusty
    - dist: xenial

Thanks, I’ll try it.

I write in .tavis.yml like this:

jobs:
  include:
    - stage: "test ubuntu 14.04 TLS"

but on

https://travis-ci.org/..../....

test ubuntu 14.04 TLS

become:

Test ubuntu 14.04 tls

test become Test
TLS become tls

I want to know why and How?

We normalize the stage names to this form.

In my opinion, ubuntu 14.04 tls should be Ubuntu 14.04 TLS

see https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_14.04_LTS_(Trusty_Tahr)