Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upgrade CMake to 3.0 from custom PPA #4631

Closed
rcdailey opened this issue Aug 7, 2015 · 7 comments
Closed

Unable to upgrade CMake to 3.0 from custom PPA #4631

rcdailey opened this issue Aug 7, 2015 · 7 comments

Comments

@rcdailey
Copy link

rcdailey commented Aug 7, 2015

I have the following:

before_install:
    - sudo add-apt-repository ppa:george-edison55/cmake-3.x --yes
    - sudo apt-get update

install:
    - sudo apt-get install cmake

In the logs, it says there is no upgrade for CMake when I run the install command. This should give me CMake 3.x. What am I doing wrong? How can I get cmake 3.0 or greater on Travis for my CI builds?

Thanks.

@Symbitic
Copy link

I think that ppa:george-edison55/cmake-3.x might not have packages for Ubuntu 12.04 Precise. Try something like sudo add-apt-repository ppa:george-edison55/precise-backports --yes instead.

@Towerism
Copy link

It's worth mentioning that to get CMake to install from the george-edison precise backports you have to explicitly install cmake-data along with cmake, otherwise apt-get will try to install the wrong version of cmake-data.

@BanzaiMan
Copy link
Contributor

Is there something on our side to do?

@m-kuhn
Copy link

m-kuhn commented Mar 2, 2016

@BanzaiMan the following works for me:

addons:
  apt:
    sources:
      - george-edison55-precise-backports # cmake 3.2.3 / doxygen 1.8.3
    packages:
      - cmake
      - cmake-data

Seems to be solved

@BanzaiMan
Copy link
Contributor

Great. Thanks for the update.

brunocodutra added a commit to brunocodutra/metal that referenced this issue Apr 14, 2016
tfar added a commit to relic-toolkit/relic that referenced this issue May 16, 2016
Instead of downloading the binary package from the CMake website, our
Travis config will now tell Travis to install CMake 3 packages as
suggested in travis-ci/travis-ci#4631 .
@skyscribe
Copy link

I tried exactly the same script as provided by @m-kuhn , still not working and I can't figure out why, can we reopen this?

My configuration can be found from travis.yml

Here's the console for latest change: [travis link](https://travis-ci.org/skyscribe/safeCallback/jobs/131571640, simply nothing installed during installation

chrisliebert pushed a commit to chrisliebert/quick-3d that referenced this issue Sep 12, 2016
chrisliebert pushed a commit to chrisliebert/quick-3d that referenced this issue Sep 12, 2016
cuveland added a commit to cbm-fles/flesnet that referenced this issue Nov 7, 2016
cuveland added a commit to cbm-fles/flesnet that referenced this issue Nov 7, 2016
dagostinelli added a commit to dagostinelli/hypatia that referenced this issue Nov 8, 2016
dagostinelli added a commit to dagostinelli/hypatia that referenced this issue Nov 8, 2016
dagostinelli added a commit to dagostinelli/hypatia that referenced this issue Nov 8, 2016
KjellKod pushed a commit to KjellKod/g3log that referenced this issue Dec 4, 2016
yossi-tahara added a commit to yossi-tahara/Theolizer that referenced this issue Jan 17, 2017
↓を参考に再挑戦
travis-ci/travis-ci#4631

----------------- MD5 Hash Values -----------------
TheolizerDriver  : a434fbea44a54357fd8118797cc3d7ff
TheolizerLibrary : af0fc1e5a034992eecb3811484d87d4a
Library's Header : 746959b760b766a8c6dcd23aa380b2c7
yossi-tahara added a commit to yossi-tahara/Theolizer that referenced this issue Jan 18, 2017
↓を参考に再挑戦
travis-ci/travis-ci#4631

----------------- MD5 Hash Values -----------------
TheolizerDriver  : a434fbea44a54357fd8118797cc3d7ff
TheolizerLibrary : af0fc1e5a034992eecb3811484d87d4a
Library's Header : 746959b760b766a8c6dcd23aa380b2c7
@chrisdembia
Copy link

The discussion in this issue helped us fix a problem with Travis-CI. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants