Ubuntu 如何在Travis CI上构建boost?

Ubuntu 如何在Travis CI上构建boost?,ubuntu,boost,travis-ci,boost-build,Ubuntu,Boost,Travis Ci,Boost Build,我试图在优秀的Travis CI中构建我的项目(我将其用于构建系统为GNU make的其他项目) 我的项目是用构建的,我正试图找到合适的apt-get包来使用,但是简单的boost构建不起作用。有人知道是否有一个包用于boost build?此外,如果有人知道如何查找可通过travis ci获得的包名,这将非常有帮助。我相信他们运行的是我不熟悉的Ubuntu(我使用的是Arch) 这是我的.travis.yml(如果有帮助的话) 错误很简单: $ sudo apt-get -qq install

我试图在优秀的Travis CI中构建我的项目(我将其用于构建系统为GNU make的其他项目)

我的项目是用构建的,我正试图找到合适的apt-get包来使用,但是简单的
boost构建
不起作用。有人知道是否有一个包用于
boost build
?此外,如果有人知道如何查找可通过travis ci获得的包名,这将非常有帮助。我相信他们运行的是我不熟悉的Ubuntu(我使用的是Arch)

这是我的.travis.yml(如果有帮助的话)

错误很简单:

$ sudo apt-get -qq install g++-4.8 valgrind boost-build
E: Package 'boost-build' has no installation candidate

你可以把这个穿在你的衣服上试试

before_install:
    # or another boost version
    - sudo add-apt-repository ppa:apokluda/boost1.53 --yes
    - sudo apt-get update

install:
    # or another boost version
    - sudo apt-get install libboost-system1.53-dev
    - sudo apt-get install libboost-regex1.53-dev
    - sudo apt-get install libboost-filesystem1.53-dev

是的,特拉维斯使用Ubuntu。我没有看到任何最新的软件包,但它看起来确实可以从网站下载并很容易地安装。是的,我现在可以从github下载源代码并在Travis VM中构建它。但这远远不够理想,因为这是一个构建工具,应该可以在系统上使用。我看到Ubuntu Lucid中有一个包。有可能在12.04从Lucid安装软件包吗?我不这么认为,尽管可能有黑客攻击。另外,lucid是在2008年推出的,所以problaby软件包无论如何都不能与更新版本的Ubuntu一起使用。谢谢!但对我来说,1.53的升幅是不够的。我用的是1.56。我最终做的是构建我自己的boostbuildubuntu包,并将其托管在我的服务器上,然后在travis中下载。
before_install:
    # or another boost version
    - sudo add-apt-repository ppa:apokluda/boost1.53 --yes
    - sudo apt-get update

install:
    # or another boost version
    - sudo apt-get install libboost-system1.53-dev
    - sudo apt-get install libboost-regex1.53-dev
    - sudo apt-get install libboost-filesystem1.53-dev