travis: install more perl dependencies, pull in trusty packages
This commit is contained in:
parent
0b3601c2ef
commit
8dd6591c59
18
.travis.yml
18
.travis.yml
|
@ -3,11 +3,21 @@ compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
before_install:
|
before_install:
|
||||||
|
# The travis VMs run on Ubuntu 12.04 which is very old and a huge pain to get
|
||||||
|
# into a state where we can build a recent version of i3 :(.
|
||||||
|
- echo 'deb http://archive.ubuntu.com/ubuntu/ trusty main universe' | sudo tee /etc/apt/sources.list.d/trusty.list
|
||||||
|
- echo 'APT::Default-Release "precise";' | sudo tee /etc/apt/apt.conf.d/default-release
|
||||||
|
- echo -e "Package: libc6\nPin: release n=trusty\nPin-Priority: 999" | sudo tee /etc/apt/preferences.d/00-libc6
|
||||||
|
- echo -e "Package: libxkbcommon*\nPin: release n=trusty\nPin-Priority: 999" | sudo tee /etc/apt/preferences.d/01-xkbcommon
|
||||||
|
- echo -e "Package: libyajl*\nPin: release n=trusty\nPin-Priority: 999" | sudo tee /etc/apt/preferences.d/02-yajl
|
||||||
|
- echo -e "Package: libxcb-image*\nPin: release n=trusty\nPin-Priority: 999" | sudo tee /etc/apt/preferences.d/03-xcb-image
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -y devscripts equivs
|
- sudo apt-get install -t trusty libc6 libc6-dev
|
||||||
|
- sudo apt-get install --no-install-recommends devscripts equivs
|
||||||
install:
|
install:
|
||||||
- sudo mk-build-deps --install --remove --tool 'apt-get --no-install-recommends -y' debian/control
|
- sudo mk-build-deps --install --remove --tool 'apt-get --no-install-recommends' debian/control
|
||||||
- sudo apt-get install --no-install-recommends -y libanyevent-perl libanyevent-i3-perl libextutils-pkgconfig-perl xcb-proto cpanminus xvfb xserver-xephyr xauth libinline-perl
|
# Install as many dependencies as possible via apt because cpanm is not very reliable/easy to debug.
|
||||||
- sudo cpanm -n -v X11::XCB
|
- sudo apt-get install --no-install-recommends libanyevent-perl libanyevent-i3-perl libextutils-pkgconfig-perl xcb-proto cpanminus xvfb xserver-xephyr xauth libinline-perl libxml-simple-perl libmouse-perl libmousex-nativetraits-perl libextutils-depends-perl perl-modules libtest-deep-perl libtest-exception-perl libxml-parser-perl libtest-simple-perl libtest-fatal-perl libdata-dump-perl libtest-differences-perl libxml-tokeparser-perl libtest-use-ok-perl
|
||||||
|
- sudo /bin/sh -c 'cpanm -n -v X11::XCB || true'
|
||||||
script: make -j && (cd testcases && xvfb-run ./complete-run.pl)
|
script: make -j && (cd testcases && xvfb-run ./complete-run.pl)
|
||||||
after_failure: cat /home/travis/.cpanm/build.log
|
after_failure: cat /home/travis/.cpanm/build.log
|
||||||
|
|
Loading…
Reference in New Issue