Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Choose a specific Ubuntu version

Tags:

travis-ci

If i'm using the default travis file it looks like that the build machine is Ubuntu Precise.

Hit http://ppa.launchpad.net precise Release.gpg

Is there any tweak to use an trusty or utopic machine?

like image 731
Sascha Manns Avatar asked Apr 22 '15 18:04

Sascha Manns


People also ask

How do I install an older version of Ubuntu?

As this guide focuses on downgrading a newer release of Ubuntu (19.04) to an older release (18.04 LTS), you must select the “Erase Ubuntu 19.04 and reinstall” option. Then, after selecting this option, click “Continue” to move to the next page.

How do I install a specific version of Vim?

To downgrade, change the version of Vim, try the following methods. Find the available Vim package via apt-cache search ^vim . Find the available version of the package: apt-cache madison vim . Install the available version by: sudo apt-get install vim=2:8.0\* .

How do I install a specific package version?

Use npm list [package-name] to know the specific latest version of an installed package. Use npm install [package-name]@[version-number] to install an older version of a package. Prefix a version number with a caret (^) or a tilde (~) to specify to install the latest minor or patch version, respectively.


2 Answers

This is now implemented, add to .travis.yml:

dist: trusty

to use ubuntu trusty.

like image 80
PeterM Avatar answered Oct 06 '22 16:10

PeterM


No. Only Precise. Works are ongoing re Trusty.

https://github.com/travis-ci/travis-ci/issues/2046

like image 39
Shahriyar Imanov Avatar answered Oct 06 '22 16:10

Shahriyar Imanov