我试图在优秀的Travis-CI中构建我的项目(我在其他项目中使用它,构建系统是GNU make)。
我的项目是用升压-建造构建的,我正试图找到合适的apt-get包来使用,但是简单的boost-build没有工作。有人知道是否有boost-build包吗?另外,如果有人知道如何通过travis-ci找到一个包名,那将是非常有帮助的。我相信他们运行的Ubuntu,我不熟悉(我使用Arch)。
这是我的.travis.yml (如果有帮助的话)
language: cpp
compiler: gcc
before_script:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get -qq install g++-4.8 valgrind boost-build
- export CXX="g++-4.8"
- git submodule update --init --recursive
script:
- b2错误非常简单:
$ sudo apt-get -qq install g++-4.8 valgrind boost-build
E: Package 'boost-build' has no installation candidate发布于 2015-07-08 04:27:54
你可以在你的.travis.yml上试试这个
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-devhttps://stackoverflow.com/questions/22572384
复制相似问题